/// <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="aIndex"></param> /// <param name="aFriendlyName"></param> public void SyncGetName(uint aIndex, out String aFriendlyName) { SyncGetNameOpenhomeOrgTestLights1 sync = new SyncGetNameOpenhomeOrgTestLights1(this); BeginGetName(aIndex, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aFriendlyName = sync.FriendlyName(); }
/// <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="aIndex"></param> /// <param name="aFriendlyName"></param> public void SyncGetName(uint aIndex, out String aFriendlyName) { SyncGetNameOpenhomeOrgTestLights1 sync = new SyncGetNameOpenhomeOrgTestLights1(this); BeginGetName(aIndex, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aFriendlyName = sync.FriendlyName(); }