Exemple #1
0
 /// <remarks/>
 public void getAccountPhoneNumbersAsync(getAccountPhoneNumbersRequest getAccountPhoneNumbersRequest) {
     this.getAccountPhoneNumbersAsync(getAccountPhoneNumbersRequest, null);
 }
Exemple #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);
 }
Exemple #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;
 }