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