public GroupInfo GetGroupByCode( string code ) { GetGroupByCodeRequest request = new GetGroupByCodeRequest() { Code = code }; GetGroupResponse response = CallWebService< IOrgUnitManagementServicev1_0, GetGroupByCodeRequest, GetGroupResponse>( m_service1_0, request, ( s, q ) => s.GetGroupByCode( q ) ); return response.Group; }
/// <remarks/> public void GetGroupByCodeAsync(GetGroupByCodeRequest GetGroupByCodeRequest) { this.GetGroupByCodeAsync(GetGroupByCodeRequest, null); }
/// <remarks/> public void GetGroupByCodeAsync(GetGroupByCodeRequest GetGroupByCodeRequest, object userState) { if ((this.GetGroupByCodeOperationCompleted == null)) { this.GetGroupByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGroupByCodeOperationCompleted); } this.InvokeAsync("GetGroupByCode", new object[] { GetGroupByCodeRequest}, this.GetGroupByCodeOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginGetGroupByCode(GetGroupByCodeRequest GetGroupByCodeRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetGroupByCode", new object[] { GetGroupByCodeRequest}, callback, asyncState); }