Пример #1
0
 /// <remarks/>
 public void getAccountPhoneNumbersAsync(getAccountPhoneNumbersRequest getAccountPhoneNumbersRequest) {
     this.getAccountPhoneNumbersAsync(getAccountPhoneNumbersRequest, null);
 }
Пример #2
0
 /// <remarks/>
 public void getAccountPhoneNumbersAsync(getAccountPhoneNumbersRequest getAccountPhoneNumbersRequest, object userState) {
     if ((this.getAccountPhoneNumbersOperationCompleted == null)) {
         this.getAccountPhoneNumbersOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetAccountPhoneNumbersOperationCompleted);
     }
     this.InvokeAsync("getAccountPhoneNumbers", new object[] {
                 getAccountPhoneNumbersRequest}, this.getAccountPhoneNumbersOperationCompleted, userState);
 }
Пример #3
0
 /// <summary>
 /// Returns all phones of an account
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public accountPhoneNumber[] GetAccountPhone(long id)
 {
     var port = Util.Port();
     getAccountPhoneNumbersRequest request = new getAccountPhoneNumbersRequest();
     request.accountId = id;
     return port.getAccountPhoneNumbers(request).accountPhoneNumbers;
 }