Пример #1
0
 public CustomOrgUnitInfo GetCustomOrgUnitByCode( string code )
 {
     GetCustomOrgUnitByCodeRequest request = new GetCustomOrgUnitByCodeRequest() { Code = code };
     GetCustomOrgUnitResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetCustomOrgUnitByCodeRequest, GetCustomOrgUnitResponse>(
         m_service1_0, request, ( s, q ) => s.GetCustomOrgUnitByCode( q ) );
     return response.OrgUnit;
 }
Пример #2
0
 /// <remarks/>
 public void GetCustomOrgUnitByCodeAsync(GetCustomOrgUnitByCodeRequest GetCustomOrgUnitByCodeRequest)
 {
     this.GetCustomOrgUnitByCodeAsync(GetCustomOrgUnitByCodeRequest, null);
 }
Пример #3
0
 /// <remarks/>
 public void GetCustomOrgUnitByCodeAsync(GetCustomOrgUnitByCodeRequest GetCustomOrgUnitByCodeRequest, object userState)
 {
     if ((this.GetCustomOrgUnitByCodeOperationCompleted == null)) {
         this.GetCustomOrgUnitByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCustomOrgUnitByCodeOperationCompleted);
     }
     this.InvokeAsync("GetCustomOrgUnitByCode", new object[] {
                 GetCustomOrgUnitByCodeRequest}, this.GetCustomOrgUnitByCodeOperationCompleted, userState);
 }
Пример #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetCustomOrgUnitByCode(GetCustomOrgUnitByCodeRequest GetCustomOrgUnitByCodeRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetCustomOrgUnitByCode", new object[] {
                 GetCustomOrgUnitByCodeRequest}, callback, asyncState);
 }