📄 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 + -