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

BeginConnectionComplete() 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 EndConnectionComplete().
public BeginConnectionComplete ( int aConnectionID, CallbackAsyncComplete aCallback ) : void
aConnectionID int
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
return void
        public void BeginConnectionComplete(int aConnectionID, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionConnectionComplete, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentInt((ParameterInt)iActionConnectionComplete.InputParameter(inIndex++), aConnectionID));
            iService.InvokeAction(invocation);
        }