Inheritance: OpenHome.Net.ControlPoint.SyncProxyAction
コード例 #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="aConnectionIDs"></param>
        public void SyncGetCurrentConnectionIDs(out String aConnectionIDs)
        {
            SyncGetCurrentConnectionIDsUpnpOrgConnectionManager1 sync = new SyncGetCurrentConnectionIDsUpnpOrgConnectionManager1(this);

            BeginGetCurrentConnectionIDs(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aConnectionIDs = sync.ConnectionIDs();
        }
コード例 #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="aConnectionIDs"></param>
 public void SyncGetCurrentConnectionIDs(out String aConnectionIDs)
 {
     SyncGetCurrentConnectionIDsUpnpOrgConnectionManager1 sync = new SyncGetCurrentConnectionIDsUpnpOrgConnectionManager1(this);
     BeginGetCurrentConnectionIDs(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aConnectionIDs = sync.ConnectionIDs();
 }