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

EndIncrement() public method

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndIncrement ( IntPtr aAsyncHandle, uint &aResult ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aResult uint
return void
        public void EndIncrement(IntPtr aAsyncHandle, out uint aResult)
        {
            uint code;
            string desc;
            if (Invocation.Error(aAsyncHandle, out code, out desc))
            {
                throw new ProxyError(code, desc);
            }
            uint index = 0;
            aResult = Invocation.OutputUint(aAsyncHandle, index++);
        }