public void SyncGetInt(out int aValueInt) { SyncGetIntOpenhomeOrgTestBasic1 sync = new SyncGetIntOpenhomeOrgTestBasic1(this); BeginGetInt(sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aValueInt = sync.ValueInt(); }