Inheritance: OpenHome.Net.ControlPoint.SyncProxyAction
Exemplo n.º 1
0
        /// <summary>
        /// Invoke the action synchronously
        /// </summary>
        /// <remarks>Blocks until the action has been processed
        /// on the device and sets any output arguments</remarks>
        /// <param name="aValue"></param>
        public void SyncAudio(out bool aValue)
        {
            SyncAudioAvOpenhomeOrgSender1 sync = new SyncAudioAvOpenhomeOrgSender1(this);

            BeginAudio(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aValue = sync.Value();
        }
Exemplo n.º 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>
 /// <param name="aValue"></param>
 public void SyncAudio(out bool aValue)
 {
     SyncAudioAvOpenhomeOrgSender1 sync = new SyncAudioAvOpenhomeOrgSender1(this);
     BeginAudio(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aValue = sync.Value();
 }