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

EndGetBinary() 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 EndGetBinary ( IntPtr aAsyncHandle, byte &aValueBin ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aValueBin byte
return void
        public void EndGetBinary(IntPtr aAsyncHandle, out byte[] aValueBin)
        {
            uint code;
            string desc;
            if (Invocation.Error(aAsyncHandle, out code, out desc))
            {
                throw new ProxyError(code, desc);
            }
            uint index = 0;
            aValueBin = Invocation.OutputBinary(aAsyncHandle, index++);
        }