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

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

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