コード例 #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="aDeviceId"></param>
        /// <param name="aFileUri"></param>
        public void SyncReprogramFallback(String aDeviceId, String aFileUri)
        {
            SyncReprogramFallbackAvOpenhomeOrgExakt2 sync = new SyncReprogramFallbackAvOpenhomeOrgExakt2(this);

            BeginReprogramFallback(aDeviceId, aFileUri, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }
コード例 #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="aDeviceId"></param>
 /// <param name="aFileUri"></param>
 public void SyncReprogramFallback(String aDeviceId, String aFileUri)
 {
     SyncReprogramFallbackAvOpenhomeOrgExakt2 sync = new SyncReprogramFallbackAvOpenhomeOrgExakt2(this);
     BeginReprogramFallback(aDeviceId, aFileUri, sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
 }