public void SyncRenameQueue(String aQueueID, String aDesiredName, out String aGivenName) { SyncRenameQueueUpnpOrgContentDirectory1 sync = new SyncRenameQueueUpnpOrgContentDirectory1(this); BeginRenameQueue(aQueueID, aDesiredName, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aGivenName = sync.GivenName(); }