public void SyncCreateReference(String aContainerID, String aObjectID, out String aNewID) { SyncCreateReferenceUpnpOrgContentDirectory1 sync = new SyncCreateReferenceUpnpOrgContentDirectory1(this); BeginCreateReference(aContainerID, aObjectID, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aNewID = sync.NewID(); }