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

BeginGetInt() public method

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetInt().
public BeginGetInt ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
return void
        public void BeginGetInt(CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionGetInt, aCallback);
            int outIndex = 0;
            invocation.AddOutput(new ArgumentInt((ParameterInt)iActionGetInt.OutputParameter(outIndex++)));
            iService.InvokeAction(invocation);
        }