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

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

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 EndGetSourceInfo().
public BeginGetSourceInfo ( String aSourceID, CallbackAsyncComplete aCallback ) : void
aSourceID String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void
        public void BeginGetSourceInfo(String aSourceID, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionGetSourceInfo, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentString((ParameterString)iActionGetSourceInfo.InputParameter(inIndex++), aSourceID));
            int outIndex = 0;
            invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetSourceInfo.OutputParameter(outIndex++)));
            invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetSourceInfo.OutputParameter(outIndex++)));
            invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetSourceInfo.OutputParameter(outIndex++)));
            invocation.AddOutput(new ArgumentUint((ParameterUint)iActionGetSourceInfo.OutputParameter(outIndex++)));
            invocation.AddOutput(new ArgumentString((ParameterString)iActionGetSourceInfo.OutputParameter(outIndex++)));
            iService.InvokeAction(invocation);
        }