/// <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 SyncReprogram(String aDeviceId, String aFileUri) { SyncReprogramAvOpenhomeOrgExakt2 sync = new SyncReprogramAvOpenhomeOrgExakt2(this); BeginReprogram(aDeviceId, aFileUri, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); }
/// <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 SyncReprogram(String aDeviceId, String aFileUri) { SyncReprogramAvOpenhomeOrgExakt2 sync = new SyncReprogramAvOpenhomeOrgExakt2(this); BeginReprogram(aDeviceId, aFileUri, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); }