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;
 }
Esempio n. 2
0
 /// <remarks/>
 public void GetSectionByCodeAsync(GetSectionByCodeRequest GetSectionByCodeRequest)
 {
     this.GetSectionByCodeAsync(GetSectionByCodeRequest, null);
 }
Esempio n. 3
0
 /// <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);
 }
Esempio n. 4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetSectionByCode(GetSectionByCodeRequest GetSectionByCodeRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetSectionByCode", new object[] {
                 GetSectionByCodeRequest}, callback, asyncState);
 }