OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgConnectionManager1.EndConnectionComplete C# (CSharp) Method

EndConnectionComplete() 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 EndConnectionComplete ( IntPtr aAsyncHandle ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
return void
        public void EndConnectionComplete(IntPtr aAsyncHandle)
        {
            uint code;
            string desc;
            if (Invocation.Error(aAsyncHandle, out code, out desc))
            {
                throw new ProxyError(code, desc);
            }
        }

Usage Example

Ejemplo n.º 1
0
 protected override void CompleteRequest(IntPtr aAsyncHandle)
 {
     iService.EndConnectionComplete(aAsyncHandle);
 }