コード例 #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="aVersion"></param>
        public void SyncVersion(out String aVersion)
        {
            SyncVersionAvOpenhomeOrgExakt2 sync = new SyncVersionAvOpenhomeOrgExakt2(this);

            BeginVersion(sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
            aVersion = sync.Version();
        }
コード例 #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="aVersion"></param>
 public void SyncVersion(out String aVersion)
 {
     SyncVersionAvOpenhomeOrgExakt2 sync = new SyncVersionAvOpenhomeOrgExakt2(this);
     BeginVersion(sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
     aVersion = sync.Version();
 }