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

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

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