Ejemplo 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="aConnectionIDs"></param>
        public void SyncGetCurrentConnectionIDs(out String aConnectionIDs)
        {
            SyncGetCurrentConnectionIDsUpnpOrgConnectionManager2 sync = new SyncGetCurrentConnectionIDsUpnpOrgConnectionManager2(this);

            BeginGetCurrentConnectionIDs(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aConnectionIDs = sync.ConnectionIDs();
        }
 /// <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)
 {
     SyncGetCurrentConnectionIDsUpnpOrgConnectionManager2 sync = new SyncGetCurrentConnectionIDsUpnpOrgConnectionManager2(this);
     BeginGetCurrentConnectionIDs(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aConnectionIDs = sync.ConnectionIDs();
 }