Example #1
0
        public userCreditResult getUserCredit([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] userCredential userCredential)
        {
            object[] results = this.Invoke("getUserCredit", new object[] {
                userCredential
            });

            return((userCreditResult)(results[0]));
        }
Example #2
0
        public getReportByMsgIdResult getReportByMsgId([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] userCredential userCredential, [System.Xml.Serialization.XmlElementAttribute("msgIds", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] long[] msgIds)
        {
            object[] results = this.Invoke("getReportByMsgId", new object[] {
                userCredential,
                msgIds
            });

            return((getReportByMsgIdResult)(results[0]));
        }
Example #3
0
 /// <remarks/>
 public void getUserCreditAsync(userCredential userCredential, object userState)
 {
     if ((this.getUserCreditOperationCompleted == null))
     {
         this.getUserCreditOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetUserCreditOperationCompleted);
     }
     this.InvokeAsync("getUserCredit", new object[] {
         userCredential
     }, this.getUserCreditOperationCompleted, userState);
 }
Example #4
0
        public getReceivedMsgResult getReceivedMsg([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] userCredential userCredential, [System.Xml.Serialization.XmlElementAttribute("destAddresses", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] destAddresses, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] long fromTime, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int maxReturnedMsg)
        {
            object[] results = this.Invoke("getReceivedMsg", new object[] {
                userCredential,
                destAddresses,
                fromTime,
                maxReturnedMsg
            });

            return((getReceivedMsgResult)(results[0]));
        }
Example #5
0
 /// <remarks/>
 public void getReportByMsgIdAsync(userCredential userCredential, long[] msgIds, object userState)
 {
     if ((this.getReportByMsgIdOperationCompleted == null))
     {
         this.getReportByMsgIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetReportByMsgIdOperationCompleted);
     }
     this.InvokeAsync("getReportByMsgId", new object[] {
         userCredential,
         msgIds
     }, this.getReportByMsgIdOperationCompleted, userState);
 }
Example #6
0
        public sendSmsResult sendSms([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] userCredential userCredential, [System.Xml.Serialization.XmlElementAttribute("srcAddresses", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] srcAddresses, [System.Xml.Serialization.XmlElementAttribute("destAddresses", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] destAddresses, [System.Xml.Serialization.XmlElementAttribute("msgBody", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] msgBody, [System.Xml.Serialization.XmlElementAttribute("msgEncoding", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int[] msgEncoding)
        {
            object[] results = this.Invoke("sendSms", new object[] {
                userCredential,
                srcAddresses,
                destAddresses,
                msgBody,
                msgEncoding
            });

            return((sendSmsResult)(results[0]));
        }
Example #7
0
 /// <remarks/>
 public void getReceivedMsgAsync(userCredential userCredential, string[] destAddresses, long fromTime, int maxReturnedMsg, object userState)
 {
     if ((this.getReceivedMsgOperationCompleted == null))
     {
         this.getReceivedMsgOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetReceivedMsgOperationCompleted);
     }
     this.InvokeAsync("getReceivedMsg", new object[] {
         userCredential,
         destAddresses,
         fromTime,
         maxReturnedMsg
     }, this.getReceivedMsgOperationCompleted, userState);
 }
Example #8
0
 /// <remarks/>
 public void sendSmsAsync(userCredential userCredential, string[] srcAddresses, string[] destAddresses, string[] msgBody, int[] msgEncoding, object userState)
 {
     if ((this.sendSmsOperationCompleted == null))
     {
         this.sendSmsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsendSmsOperationCompleted);
     }
     this.InvokeAsync("sendSms", new object[] {
         userCredential,
         srcAddresses,
         destAddresses,
         msgBody,
         msgEncoding
     }, this.sendSmsOperationCompleted, userState);
 }
Example #9
0
 /// <remarks/>
 public void sendSmsAsync(userCredential userCredential, string[] srcAddresses, string[] destAddresses, string[] msgBody, int[] msgEncoding)
 {
     this.sendSmsAsync(userCredential, srcAddresses, destAddresses, msgBody, msgEncoding, null);
 }
Example #10
0
 /// <remarks/>
 public void getUserCreditAsync(userCredential userCredential)
 {
     this.getUserCreditAsync(userCredential, null);
 }
Example #11
0
 /// <remarks/>
 public void getReceivedMsgAsync(userCredential userCredential, string[] destAddresses, long fromTime, int maxReturnedMsg)
 {
     this.getReceivedMsgAsync(userCredential, destAddresses, fromTime, maxReturnedMsg, null);
 }
Example #12
0
 /// <remarks/>
 public void getReportByMsgIdAsync(userCredential userCredential, long[] msgIds)
 {
     this.getReportByMsgIdAsync(userCredential, msgIds, null);
 }