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

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncAddItemToQueue ( String aQueueID, String aObjectID, uint aPosition ) : void
aQueueID String
aObjectID String
aPosition uint
Результат void
        public void SyncAddItemToQueue(String aQueueID, String aObjectID, uint aPosition)
        {
            SyncAddItemToQueueUpnpOrgContentDirectory1 sync = new SyncAddItemToQueueUpnpOrgContentDirectory1(this);
            BeginAddItemToQueue(aQueueID, aObjectID, aPosition, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }