/// <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="aUri"></param>
        /// <param name="aMetadata"></param>
        public void SyncSender(out String aUri, out String aMetadata)
        {
            SyncSenderAvOpenhomeOrgReceiver1 sync = new SyncSenderAvOpenhomeOrgReceiver1(this);

            BeginSender(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aUri      = sync.Uri();
            aMetadata = sync.Metadata();
        }
Ejemplo 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="aUri"></param>
 /// <param name="aMetadata"></param>
 public void SyncSender(out String aUri, out String aMetadata)
 {
     SyncSenderAvOpenhomeOrgReceiver1 sync = new SyncSenderAvOpenhomeOrgReceiver1(this);
     BeginSender(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aUri = sync.Uri();
     aMetadata = sync.Metadata();
 }