/// <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="aCount"></param>
        public void SyncGetCount(out uint aCount)
        {
            SyncGetCountOpenhomeOrgTestLights1 sync = new SyncGetCountOpenhomeOrgTestLights1(this);

            BeginGetCount(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aCount = sync.Count();
        }
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="aCount"></param>
 public void SyncGetCount(out uint aCount)
 {
     SyncGetCountOpenhomeOrgTestLights1 sync = new SyncGetCountOpenhomeOrgTestLights1(this);
     BeginGetCount(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aCount = sync.Count();
 }