/// <summary>
        /// Invoke the action synchronously
        /// </summary>
        /// <remarks>Blocks until the action has been processed
        /// on the device and sets any output arguments</remarks>
        public void SyncStop()
        {
            SyncStopAvOpenhomeOrgReceiver1 sync = new SyncStopAvOpenhomeOrgReceiver1(this);

            BeginStop(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }
示例#2
0
 /// <summary>
 /// Invoke the action synchronously
 /// </summary>
 /// <remarks>Blocks until the action has been processed
 /// on the device and sets any output arguments</remarks>
 public void SyncStop()
 {
     SyncStopAvOpenhomeOrgReceiver1 sync = new SyncStopAvOpenhomeOrgReceiver1(this);
     BeginStop(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
 }