/// <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="aEnabled"></param> public void SyncSetEnabled(String aId, bool aEnabled) { SyncSetEnabledAvOpenhomeOrgCredentials1 sync = new SyncSetEnabledAvOpenhomeOrgCredentials1(this); BeginSetEnabled(aId, aEnabled, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); }