?? reference.cs
字號:
?//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// 此源代碼是由 Microsoft.VSDesigner 1.1.4322.2032 版自動生成。
//
namespace OTATextBuilder.UltraBinarySMS {
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="SendSMSSoap", Namespace="http://webservices.ultrapower.com.cn/sms/2005/09/")]
public class SendSMS : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public SendSMS() {
string urlSetting = System.Configuration.ConfigurationSettings.AppSettings["OTATextBuilder.UltraBinarySMS.SendSMS"];
if ((urlSetting != null)) {
this.Url = string.Concat(urlSetting, "");
}
else {
this.Url = "http://219.238.168.183/SendBinarySMS/sendsms.asmx";
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://webservices.ultrapower.com.cn/sms/2005/09/send", RequestNamespace="http://webservices.ultrapower.com.cn/sms/2005/09/", ResponseNamespace="http://webservices.ultrapower.com.cn/sms/2005/09/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string send(string content, string destmobile) {
object[] results = this.Invoke("send", new object[] {
content,
destmobile});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult Beginsend(string content, string destmobile, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("send", new object[] {
content,
destmobile}, callback, asyncState);
}
/// <remarks/>
public string Endsend(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -