public void SyncSetStandby(bool aValue) { SyncSetStandbyAvOpenhomeOrgProduct1 sync = new SyncSetStandbyAvOpenhomeOrgProduct1(this); BeginSetStandby(aValue, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); }