/// <summary> /// Invoke the action synchronously /// </summary> /// <remarks>Blocks until the action has been processed /// on the device and sets any output arguments</remarks> /// <param name="aService"></param> /// <param name="aUniqueDeviceName"></param> public void SyncGetDevice(String aService, out String aUniqueDeviceName) { SyncGetDeviceRaumfeldComConfigService1 sync = new SyncGetDeviceRaumfeldComConfigService1(this); BeginGetDevice(aService, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aUniqueDeviceName = sync.UniqueDeviceName(); }