/// <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="aCurrentToken"></param> /// <param name="aNewToken"></param> public void SyncReLogin(String aId, String aCurrentToken, out String aNewToken) { SyncReLoginAvOpenhomeOrgCredentials1 sync = new SyncReLoginAvOpenhomeOrgCredentials1(this); BeginReLogin(aId, aCurrentToken, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aNewToken = sync.NewToken(); }
/// <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="aCurrentToken"></param> /// <param name="aNewToken"></param> public void SyncReLogin(String aId, String aCurrentToken, out String aNewToken) { SyncReLoginAvOpenhomeOrgCredentials1 sync = new SyncReLoginAvOpenhomeOrgCredentials1(this); BeginReLogin(aId, aCurrentToken, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aNewToken = sync.NewToken(); }