/// <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="aId"></param> /// <param name="aUserName"></param> /// <param name="aPassword"></param> public void SyncSet(String aId, String aUserName, byte[] aPassword) { SyncSetAvOpenhomeOrgCredentials1 sync = new SyncSetAvOpenhomeOrgCredentials1(this); BeginSet(aId, aUserName, aPassword, 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="aId"></param> /// <param name="aUserName"></param> /// <param name="aPassword"></param> public void SyncSet(String aId, String aUserName, byte[] aPassword) { SyncSetAvOpenhomeOrgCredentials1 sync = new SyncSetAvOpenhomeOrgCredentials1(this); BeginSet(aId, aUserName, aPassword, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); }