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

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

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 EndAddContainerToQueue().
public BeginAddContainerToQueue ( String aQueueID, String aContainerID, String aSourceID, String aSearchCriteria, String aSortCriteria, uint aStartIndex, uint aEndIndex, uint aPosition, CallbackAsyncComplete aCallback ) : void
aQueueID String
aContainerID String
aSourceID String
aSearchCriteria String
aSortCriteria String
aStartIndex uint
aEndIndex uint
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 BeginAddContainerToQueue(String aQueueID, String aContainerID, String aSourceID, String aSearchCriteria, String aSortCriteria, uint aStartIndex, uint aEndIndex, uint aPosition, CallbackAsyncComplete aCallback)
        {
            Invocation invocation = iService.Invocation(iActionAddContainerToQueue, aCallback);
            int inIndex = 0;
            invocation.AddInput(new ArgumentString((ParameterString)iActionAddContainerToQueue.InputParameter(inIndex++), aQueueID));
            invocation.AddInput(new ArgumentString((ParameterString)iActionAddContainerToQueue.InputParameter(inIndex++), aContainerID));
            invocation.AddInput(new ArgumentString((ParameterString)iActionAddContainerToQueue.InputParameter(inIndex++), aSourceID));
            invocation.AddInput(new ArgumentString((ParameterString)iActionAddContainerToQueue.InputParameter(inIndex++), aSearchCriteria));
            invocation.AddInput(new ArgumentString((ParameterString)iActionAddContainerToQueue.InputParameter(inIndex++), aSortCriteria));
            invocation.AddInput(new ArgumentUint((ParameterUint)iActionAddContainerToQueue.InputParameter(inIndex++), aStartIndex));
            invocation.AddInput(new ArgumentUint((ParameterUint)iActionAddContainerToQueue.InputParameter(inIndex++), aEndIndex));
            invocation.AddInput(new ArgumentUint((ParameterUint)iActionAddContainerToQueue.InputParameter(inIndex++), aPosition));
            iService.InvokeAction(invocation);
        }