?? reference.cs
字號(hào):
?//------------------------------------------------------------------------------
// <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 版自動(dòng)生成。
//
namespace SmartDic.com.gistxl {
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="GistSrvSoap", Namespace="http://gistxl.com/TransWebSrv/GistSrv")]
public class GistSrv : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public GistSrv() {
this.Url = "http://gistxl.com/TransWebSrv0/MainSrv.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://gistxl.com/TransWebSrv/GistSrv/WebAddTest", RequestNamespace="http://gistxl.com/TransWebSrv/GistSrv", ResponseNamespace="http://gistxl.com/TransWebSrv/GistSrv", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int WebAddTest(int x, int y) {
object[] results = this.Invoke("WebAddTest", new object[] {
x,
y});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginWebAddTest(int x, int y, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("WebAddTest", new object[] {
x,
y}, callback, asyncState);
}
/// <remarks/>
public int EndWebAddTest(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://gistxl.com/TransWebSrv/GistSrv/Registration", RequestNamespace="http://gistxl.com/TransWebSrv/GistSrv", ResponseNamespace="http://gistxl.com/TransWebSrv/GistSrv", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int Registration(string strName, string strEmail, string strTelephone, string strFullAddress, out string strAccessCode) {
object[] results = this.Invoke("Registration", new object[] {
strName,
strEmail,
strTelephone,
strFullAddress});
strAccessCode = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginRegistration(string strName, string strEmail, string strTelephone, string strFullAddress, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Registration", new object[] {
strName,
strEmail,
strTelephone,
strFullAddress}, callback, asyncState);
}
/// <remarks/>
public int EndRegistration(System.IAsyncResult asyncResult, out string strAccessCode) {
object[] results = this.EndInvoke(asyncResult);
strAccessCode = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://gistxl.com/TransWebSrv/GistSrv/Translate", RequestNamespace="http://gistxl.com/TransWebSrv/GistSrv", ResponseNamespace="http://gistxl.com/TransWebSrv/GistSrv", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int Translate(ref string strText, string strSrcLang, string strTgtLang, bool bNeedImg, bool bNeedVoice, string strAccessCode, out string strResult, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] out System.Byte[] byImageBuf, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] out System.Byte[] byVoiceBuf) {
object[] results = this.Invoke("Translate", new object[] {
strText,
strSrcLang,
strTgtLang,
bNeedImg,
bNeedVoice,
strAccessCode});
strText = ((string)(results[1]));
strResult = ((string)(results[2]));
byImageBuf = ((System.Byte[])(results[3]));
byVoiceBuf = ((System.Byte[])(results[4]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginTranslate(string strText, string strSrcLang, string strTgtLang, bool bNeedImg, bool bNeedVoice, string strAccessCode, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Translate", new object[] {
strText,
strSrcLang,
strTgtLang,
bNeedImg,
bNeedVoice,
strAccessCode}, callback, asyncState);
}
/// <remarks/>
public int EndTranslate(System.IAsyncResult asyncResult, out string strText, out string strResult, out System.Byte[] byImageBuf, out System.Byte[] byVoiceBuf) {
object[] results = this.EndInvoke(asyncResult);
strText = ((string)(results[1]));
strResult = ((string)(results[2]));
byImageBuf = ((System.Byte[])(results[3]));
byVoiceBuf = ((System.Byte[])(results[4]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://gistxl.com/TransWebSrv/GistSrv/GetLanguagesString", RequestNamespace="http://gistxl.com/TransWebSrv/GistSrv", ResponseNamespace="http://gistxl.com/TransWebSrv/GistSrv", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetLanguagesString(out string[] strSrcLangs, out string[] strTgtLangs) {
object[] results = this.Invoke("GetLanguagesString", new object[0]);
strSrcLangs = ((string[])(results[1]));
strTgtLangs = ((string[])(results[2]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetLanguagesString(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLanguagesString", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetLanguagesString(System.IAsyncResult asyncResult, out string[] strSrcLangs, out string[] strTgtLangs) {
object[] results = this.EndInvoke(asyncResult);
strSrcLangs = ((string[])(results[1]));
strTgtLangs = ((string[])(results[2]));
return ((int)(results[0]));
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -