/// <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="aIndex"></param>
        /// <param name="aRoomName"></param>
        public void SyncGetRoom(uint aIndex, out String aRoomName)
        {
            SyncGetRoomOpenhomeOrgTestLights1 sync = new SyncGetRoomOpenhomeOrgTestLights1(this);

            BeginGetRoom(aIndex, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aRoomName = sync.RoomName();
        }
예제 #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="aIndex"></param>
 /// <param name="aRoomName"></param>
 public void SyncGetRoom(uint aIndex, out String aRoomName)
 {
     SyncGetRoomOpenhomeOrgTestLights1 sync = new SyncGetRoomOpenhomeOrgTestLights1(this);
     BeginGetRoom(aIndex, sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aRoomName = sync.RoomName();
 }