예제 #1
0
 public DepartmentInfo GetDepartment( Identifier orgUnitId )
 {
     GetDepartmentRequest request = new GetDepartmentRequest() { OrgUnitId = orgUnitId };
     GetDepartmentResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, GetDepartmentRequest, GetDepartmentResponse>(
         m_service1_0, request, ( s, q ) => s.GetDepartment( q ) );
     return response.Department;
 }
예제 #2
0
 /// <remarks/>
 public void GetDepartmentAsync(GetDepartmentRequest GetDepartmentRequest)
 {
     this.GetDepartmentAsync(GetDepartmentRequest, null);
 }
예제 #3
0
 /// <remarks/>
 public void GetDepartmentAsync(GetDepartmentRequest GetDepartmentRequest, object userState)
 {
     if ((this.GetDepartmentOperationCompleted == null)) {
         this.GetDepartmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDepartmentOperationCompleted);
     }
     this.InvokeAsync("GetDepartment", new object[] {
                 GetDepartmentRequest}, this.GetDepartmentOperationCompleted, userState);
 }
예제 #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetDepartment(GetDepartmentRequest GetDepartmentRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetDepartment", new object[] {
                 GetDepartmentRequest}, callback, asyncState);
 }