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

SyncSetInt() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncSetInt ( int aValueInt ) : void
aValueInt int
return void
        public void SyncSetInt(int aValueInt)
        {
            SyncSetIntOpenhomeOrgTestBasic1 sync = new SyncSetIntOpenhomeOrgTestBasic1(this);
            BeginSetInt(aValueInt, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }