Пример #1
0
 public CustomOrgUnitTypeInfo GetCustomOrgUnitType( Identifier orgUnitTypeId )
 {
     GetCustomOrgUnitTypeRequest request = new GetCustomOrgUnitTypeRequest() {
         OrgUnitTypeId = orgUnitTypeId
     };
     GetCustomOrgUnitTypeResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetCustomOrgUnitTypeRequest, GetCustomOrgUnitTypeResponse>(
         m_service1_0, request, ( s, q ) => s.GetCustomOrgUnitType( q ) );
     return response.OrgUnitType;
 }
Пример #2
0
 /// <remarks/>
 public void GetCustomOrgUnitTypeAsync(GetCustomOrgUnitTypeRequest GetCustomOrgUnitTypeRequest)
 {
     this.GetCustomOrgUnitTypeAsync(GetCustomOrgUnitTypeRequest, null);
 }
Пример #3
0
 /// <remarks/>
 public void GetCustomOrgUnitTypeAsync(GetCustomOrgUnitTypeRequest GetCustomOrgUnitTypeRequest, object userState)
 {
     if ((this.GetCustomOrgUnitTypeOperationCompleted == null)) {
         this.GetCustomOrgUnitTypeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCustomOrgUnitTypeOperationCompleted);
     }
     this.InvokeAsync("GetCustomOrgUnitType", new object[] {
                 GetCustomOrgUnitTypeRequest}, this.GetCustomOrgUnitTypeOperationCompleted, userState);
 }
Пример #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetCustomOrgUnitType(GetCustomOrgUnitTypeRequest GetCustomOrgUnitTypeRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetCustomOrgUnitType", new object[] {
                 GetCustomOrgUnitTypeRequest}, callback, asyncState);
 }