OpenHome.Net.ControlPoint.Proxies.CpProxyOpenhomeOrgTestBasic1.SyncSetBool C# (CSharp) Method

SyncSetBool() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncSetBool ( bool aValueBool ) : void
aValueBool bool
return void
        public void SyncSetBool(bool aValueBool)
        {
            SyncSetBoolOpenhomeOrgTestBasic1 sync = new SyncSetBoolOpenhomeOrgTestBasic1(this);
            BeginSetBool(aValueBool, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }