?? 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>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.2032.
//
namespace UploadWin.BufferedUploadServer {
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="UploadSoap", Namespace="http://yourdomain.com/upload/")]
public class UploadWse : Microsoft.Web.Services2.WebServicesClientProtocol {
/// <remarks/>
public UploadWse() {
this.Url = "http://localhost/UploadWeb/Upload.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://yourdomain.com/upload/Initialize", RequestNamespace="http://yourdomain.com/upload/", ResponseNamespace="http://yourdomain.com/upload/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Initialize(string Filename, bool Overwrite) {
object[] results = this.Invoke("Initialize", new object[] {
Filename,
Overwrite});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginInitialize(string Filename, bool Overwrite, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Initialize", new object[] {
Filename,
Overwrite}, callback, asyncState);
}
/// <remarks/>
public string EndInitialize(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://yourdomain.com/upload/AppendChunk", RequestNamespace="http://yourdomain.com/upload/", ResponseNamespace="http://yourdomain.com/upload/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void AppendChunk(string InstanceId, long offset, int bufferSize) {
this.Invoke("AppendChunk", new object[] {
InstanceId,
offset,
bufferSize});
}
/// <remarks/>
public System.IAsyncResult BeginAppendChunk(string InstanceId, long offset, int bufferSize, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AppendChunk", new object[] {
InstanceId,
offset,
bufferSize}, callback, asyncState);
}
/// <remarks/>
public void EndAppendChunk(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://yourdomain.com/upload/RemoveInstance", RequestNamespace="http://yourdomain.com/upload/", ResponseNamespace="http://yourdomain.com/upload/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void RemoveInstance(string InstanceId) {
this.Invoke("RemoveInstance", new object[] {
InstanceId});
}
/// <remarks/>
public System.IAsyncResult BeginRemoveInstance(string InstanceId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveInstance", new object[] {
InstanceId}, callback, asyncState);
}
/// <remarks/>
public void EndRemoveInstance(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
}
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="UploadSoap", Namespace="http://yourdomain.com/upload/")]
public class Upload : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public Upload() {
this.Url = "http://localhost/UploadWeb/Upload.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://yourdomain.com/upload/Initialize", RequestNamespace="http://yourdomain.com/upload/", ResponseNamespace="http://yourdomain.com/upload/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Initialize(string Filename, bool Overwrite) {
object[] results = this.Invoke("Initialize", new object[] {
Filename,
Overwrite});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginInitialize(string Filename, bool Overwrite, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Initialize", new object[] {
Filename,
Overwrite}, callback, asyncState);
}
/// <remarks/>
public string EndInitialize(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://yourdomain.com/upload/AppendChunk", RequestNamespace="http://yourdomain.com/upload/", ResponseNamespace="http://yourdomain.com/upload/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void AppendChunk(string InstanceId, long offset, int bufferSize) {
this.Invoke("AppendChunk", new object[] {
InstanceId,
offset,
bufferSize});
}
/// <remarks/>
public System.IAsyncResult BeginAppendChunk(string InstanceId, long offset, int bufferSize, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AppendChunk", new object[] {
InstanceId,
offset,
bufferSize}, callback, asyncState);
}
/// <remarks/>
public void EndAppendChunk(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://yourdomain.com/upload/RemoveInstance", RequestNamespace="http://yourdomain.com/upload/", ResponseNamespace="http://yourdomain.com/upload/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void RemoveInstance(string InstanceId) {
this.Invoke("RemoveInstance", new object[] {
InstanceId});
}
/// <remarks/>
public System.IAsyncResult BeginRemoveInstance(string InstanceId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveInstance", new object[] {
InstanceId}, callback, asyncState);
}
/// <remarks/>
public void EndRemoveInstance(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -