/// <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="aToken"></param> public void SyncLogin(String aId, out String aToken) { SyncLoginAvOpenhomeOrgCredentials1 sync = new SyncLoginAvOpenhomeOrgCredentials1(this); BeginLogin(aId, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aToken = sync.Token(); }
/// <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="aToken"></param> public void SyncLogin(String aId, out String aToken) { SyncLoginAvOpenhomeOrgCredentials1 sync = new SyncLoginAvOpenhomeOrgCredentials1(this); BeginLogin(aId, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aToken = sync.Token(); }