public CustomOrgUnitInfo GetCustomOrgUnit( Identifier orgUnitId )
 {
     GetCustomOrgUnitRequest request = new GetCustomOrgUnitRequest() { OrgUnitId = orgUnitId };
     GetCustomOrgUnitResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetCustomOrgUnitRequest, GetCustomOrgUnitResponse>(
         m_service1_0, request, ( s, q ) => s.GetCustomOrgUnit( q ) );
     return response.OrgUnit;
 }
Example #2
0
 /// <remarks/>
 public void GetCustomOrgUnitAsync(GetCustomOrgUnitRequest GetCustomOrgUnitRequest)
 {
     this.GetCustomOrgUnitAsync(GetCustomOrgUnitRequest, null);
 }
Example #3
0
 /// <remarks/>
 public void GetCustomOrgUnitAsync(GetCustomOrgUnitRequest GetCustomOrgUnitRequest, object userState)
 {
     if ((this.GetCustomOrgUnitOperationCompleted == null)) {
         this.GetCustomOrgUnitOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCustomOrgUnitOperationCompleted);
     }
     this.InvokeAsync("GetCustomOrgUnit", new object[] {
                 GetCustomOrgUnitRequest}, this.GetCustomOrgUnitOperationCompleted, userState);
 }
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetCustomOrgUnit(GetCustomOrgUnitRequest GetCustomOrgUnitRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetCustomOrgUnit", new object[] {
                 GetCustomOrgUnitRequest}, callback, asyncState);
 }