public SectionInfo GetSectionByCode( string code ) { GetSectionByCodeRequest request = new GetSectionByCodeRequest() { Code = code }; GetSectionResponse response = CallWebService< IOrgUnitManagementServicev1_0, GetSectionByCodeRequest, GetSectionResponse>( m_service1_0, request, ( s, q ) => s.GetSectionByCode( q ) ); return response.Section; }
/// <remarks/> public void GetSectionByCodeAsync(GetSectionByCodeRequest GetSectionByCodeRequest) { this.GetSectionByCodeAsync(GetSectionByCodeRequest, null); }
/// <remarks/> public void GetSectionByCodeAsync(GetSectionByCodeRequest GetSectionByCodeRequest, object userState) { if ((this.GetSectionByCodeOperationCompleted == null)) { this.GetSectionByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSectionByCodeOperationCompleted); } this.InvokeAsync("GetSectionByCode", new object[] { GetSectionByCodeRequest}, this.GetSectionByCodeOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginGetSectionByCode(GetSectionByCodeRequest GetSectionByCodeRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetSectionByCode", new object[] { GetSectionByCodeRequest}, callback, asyncState); }