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

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

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