📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.573 版自动生成。
//
namespace Example_12_21.FileService {
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="FileManageSerivceSoap", Namespace="http://tempuri.org/")]
public class FileManageSerivce : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public FileManageSerivce() {
this.Url = "http://localhost/Example_12_21/FileManageSerivce.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetImage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public System.Byte[] GetImage(string requestFileName) {
object[] results = this.Invoke("GetImage", new object[] {
requestFileName});
return ((System.Byte[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetImage(string requestFileName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetImage", new object[] {
requestFileName}, callback, asyncState);
}
/// <remarks/>
public System.Byte[] EndGetImage(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Byte[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetImageType", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetImageType() {
object[] results = this.Invoke("GetImageType", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetImageType(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetImageType", new object[0], callback, asyncState);
}
/// <remarks/>
public string EndGetImageType(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UploadFile", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string UploadFile([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] fs, string FileName) {
object[] results = this.Invoke("UploadFile", new object[] {
fs,
FileName});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginUploadFile(System.Byte[] fs, string FileName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UploadFile", new object[] {
fs,
FileName}, callback, asyncState);
}
/// <remarks/>
public string EndUploadFile(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -