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

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncRescanSource ( String aSourceID, String aRescanMode ) : void
aSourceID String
aRescanMode String
Результат void
        public void SyncRescanSource(String aSourceID, String aRescanMode)
        {
            SyncRescanSourceUpnpOrgContentDirectory1 sync = new SyncRescanSourceUpnpOrgContentDirectory1(this);
            BeginRescanSource(aSourceID, aRescanMode, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }