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

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncCreateReference ( String aContainerID, String aObjectID, String &aNewID ) : void
aContainerID String
aObjectID String
aNewID String
Результат void
        public void SyncCreateReference(String aContainerID, String aObjectID, out String aNewID)
        {
            SyncCreateReferenceUpnpOrgContentDirectory1 sync = new SyncCreateReferenceUpnpOrgContentDirectory1(this);
            BeginCreateReference(aContainerID, aObjectID, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aNewID = sync.NewID();
        }