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

SyncDecrement() public method

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncDecrement ( int aValue, int &aResult ) : void
aValue int
aResult int
return void
        public void SyncDecrement(int aValue, out int aResult)
        {
            SyncDecrementOpenhomeOrgTestBasic1 sync = new SyncDecrementOpenhomeOrgTestBasic1(this);
            BeginDecrement(aValue, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aResult = sync.Result();
        }