OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgContentDirectory1.EndGetSourceInfo C# (CSharp) Метод

EndGetSourceInfo() публичный Метод

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetSourceInfo ( IntPtr aAsyncHandle, uint &aNumTracks, uint &aTotalSize, uint &aTotalDuration, uint &aScanProgress, String &aIndexerResult ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aNumTracks uint
aTotalSize uint
aTotalDuration uint
aScanProgress uint
aIndexerResult String
Результат void
        public void EndGetSourceInfo(IntPtr aAsyncHandle, out uint aNumTracks, out uint aTotalSize, out uint aTotalDuration, out uint aScanProgress, out String aIndexerResult)
        {
            uint code;
            string desc;
            if (Invocation.Error(aAsyncHandle, out code, out desc))
            {
                throw new ProxyError(code, desc);
            }
            uint index = 0;
            aNumTracks = Invocation.OutputUint(aAsyncHandle, index++);
            aTotalSize = Invocation.OutputUint(aAsyncHandle, index++);
            aTotalDuration = Invocation.OutputUint(aAsyncHandle, index++);
            aScanProgress = Invocation.OutputUint(aAsyncHandle, index++);
            aIndexerResult = Invocation.OutputString(aAsyncHandle, index++);
        }