OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgConnectionManager1.EndGetCurrentConnectionIDs C# (CSharp) 메소드

EndGetCurrentConnectionIDs() 공개 메소드

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

Usage Example

예제 #1
0
 protected override void CompleteRequest(IntPtr aAsyncHandle)
 {
     iService.EndGetCurrentConnectionIDs(aAsyncHandle, out iConnectionIDs);
 }