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

EndGetCurrentConnectionInfo() 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 EndGetCurrentConnectionInfo ( IntPtr aAsyncHandle, int &aRcsID, int &aAVTransportID, String &aProtocolInfo, String &aPeerConnectionManager, int &aPeerConnectionID, String &aDirection, String &aStatus ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aRcsID int
aAVTransportID int
aProtocolInfo String
aPeerConnectionManager String
aPeerConnectionID int
aDirection String
aStatus String
return void
        public void EndGetCurrentConnectionInfo(IntPtr aAsyncHandle, out int aRcsID, out int aAVTransportID, out String aProtocolInfo, out String aPeerConnectionManager, out int aPeerConnectionID, out String aDirection, out String aStatus)
        {
            uint code;
            string desc;
            if (Invocation.Error(aAsyncHandle, out code, out desc))
            {
                throw new ProxyError(code, desc);
            }
            uint index = 0;
            aRcsID = Invocation.OutputInt(aAsyncHandle, index++);
            aAVTransportID = Invocation.OutputInt(aAsyncHandle, index++);
            aProtocolInfo = Invocation.OutputString(aAsyncHandle, index++);
            aPeerConnectionManager = Invocation.OutputString(aAsyncHandle, index++);
            aPeerConnectionID = Invocation.OutputInt(aAsyncHandle, index++);
            aDirection = Invocation.OutputString(aAsyncHandle, index++);
            aStatus = Invocation.OutputString(aAsyncHandle, index++);
        }

Usage Example

Ejemplo n.º 1
0
 protected override void CompleteRequest(IntPtr aAsyncHandle)
 {
     iService.EndGetCurrentConnectionInfo(aAsyncHandle, out iRcsID, out iAVTransportID, out iProtocolInfo, out iPeerConnectionManager, out iPeerConnectionID, out iDirection, out iStatus);
 }