OpenHome.Net.ControlPoint.Proxies.CpProxyRaumfeldComConfigService1.SyncGetDevice C# (CSharp) Méthode

SyncGetDevice() public méthode

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetDevice ( String aService, String &aUniqueDeviceName ) : void
aService String
aUniqueDeviceName String
Résultat void
        public void SyncGetDevice(String aService, out String aUniqueDeviceName)
        {
            SyncGetDeviceRaumfeldComConfigService1 sync = new SyncGetDeviceRaumfeldComConfigService1(this);
            BeginGetDevice(aService, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aUniqueDeviceName = sync.UniqueDeviceName();
        }