コード例 #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="aConnectionID"></param>
        public void SyncConnectionComplete(int aConnectionID)
        {
            SyncConnectionCompleteUpnpOrgConnectionManager2 sync = new SyncConnectionCompleteUpnpOrgConnectionManager2(this);

            BeginConnectionComplete(aConnectionID, 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>
 /// <param name="aConnectionID"></param>
 public void SyncConnectionComplete(int aConnectionID)
 {
     SyncConnectionCompleteUpnpOrgConnectionManager2 sync = new SyncConnectionCompleteUpnpOrgConnectionManager2(this);
     BeginConnectionComplete(aConnectionID, sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
 }