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; }
/// <remarks/> public void GetCustomOrgUnitTypeAsync(GetCustomOrgUnitTypeRequest GetCustomOrgUnitTypeRequest) { this.GetCustomOrgUnitTypeAsync(GetCustomOrgUnitTypeRequest, null); }
/// <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); }
/// <remarks/> public System.IAsyncResult BeginGetCustomOrgUnitType(GetCustomOrgUnitTypeRequest GetCustomOrgUnitTypeRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetCustomOrgUnitType", new object[] { GetCustomOrgUnitTypeRequest}, callback, asyncState); }