?? reference.cs
字號:
?//------------------------------------------------------------------------------
// <auto-generated>
// 此代碼由工具生成。
// 運行庫版本:2.0.50727.1433
//
// 對此文件的更改可能會導(dǎo)致不正確的行為,并且如果
// 重新生成代碼,這些更改將會丟失。
// </auto-generated>
//------------------------------------------------------------------------------
//
// 此源代碼是由 Microsoft.VSDesigner 2.0.50727.1433 版自動生成。
//
#pragma warning disable 1591
namespace StockMarket.WebService {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="ChinaStockWebServiceSoap", Namespace="http://WebXml.com.cn/")]
public partial class ChinaStockWebService : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback getStockImageByCodeOperationCompleted;
private System.Threading.SendOrPostCallback getStockImageByteByCodeOperationCompleted;
private System.Threading.SendOrPostCallback getStockImage_kByCodeOperationCompleted;
private System.Threading.SendOrPostCallback getStockImage_kByteByCodeOperationCompleted;
private System.Threading.SendOrPostCallback getStockInfoByCodeOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public ChinaStockWebService() {
this.Url = global::StockMarket.Properties.Settings.Default.StockMarket_WebService_ChinaStockWebService;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
/// <remarks/>
public event getStockImageByCodeCompletedEventHandler getStockImageByCodeCompleted;
/// <remarks/>
public event getStockImageByteByCodeCompletedEventHandler getStockImageByteByCodeCompleted;
/// <remarks/>
public event getStockImage_kByCodeCompletedEventHandler getStockImage_kByCodeCompleted;
/// <remarks/>
public event getStockImage_kByteByCodeCompletedEventHandler getStockImage_kByteByCodeCompleted;
/// <remarks/>
public event getStockInfoByCodeCompletedEventHandler getStockInfoByCodeCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getStockImageByCode", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void getStockImageByCode(string theStockCode) {
this.Invoke("getStockImageByCode", new object[] {
theStockCode});
}
/// <remarks/>
public void getStockImageByCodeAsync(string theStockCode) {
this.getStockImageByCodeAsync(theStockCode, null);
}
/// <remarks/>
public void getStockImageByCodeAsync(string theStockCode, object userState) {
if ((this.getStockImageByCodeOperationCompleted == null)) {
this.getStockImageByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetStockImageByCodeOperationCompleted);
}
this.InvokeAsync("getStockImageByCode", new object[] {
theStockCode}, this.getStockImageByCodeOperationCompleted, userState);
}
private void OngetStockImageByCodeOperationCompleted(object arg) {
if ((this.getStockImageByCodeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.getStockImageByCodeCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getStockImageByteByCode", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public byte[] getStockImageByteByCode(string theStockCode) {
object[] results = this.Invoke("getStockImageByteByCode", new object[] {
theStockCode});
return ((byte[])(results[0]));
}
/// <remarks/>
public void getStockImageByteByCodeAsync(string theStockCode) {
this.getStockImageByteByCodeAsync(theStockCode, null);
}
/// <remarks/>
public void getStockImageByteByCodeAsync(string theStockCode, object userState) {
if ((this.getStockImageByteByCodeOperationCompleted == null)) {
this.getStockImageByteByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetStockImageByteByCodeOperationCompleted);
}
this.InvokeAsync("getStockImageByteByCode", new object[] {
theStockCode}, this.getStockImageByteByCodeOperationCompleted, userState);
}
private void OngetStockImageByteByCodeOperationCompleted(object arg) {
if ((this.getStockImageByteByCodeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.getStockImageByteByCodeCompleted(this, new getStockImageByteByCodeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getStockImage_kByCode", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void getStockImage_kByCode(string theStockCode, string theType) {
this.Invoke("getStockImage_kByCode", new object[] {
theStockCode,
theType});
}
/// <remarks/>
public void getStockImage_kByCodeAsync(string theStockCode, string theType) {
this.getStockImage_kByCodeAsync(theStockCode, theType, null);
}
/// <remarks/>
public void getStockImage_kByCodeAsync(string theStockCode, string theType, object userState) {
if ((this.getStockImage_kByCodeOperationCompleted == null)) {
this.getStockImage_kByCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetStockImage_kByCodeOperationCompleted);
}
this.InvokeAsync("getStockImage_kByCode", new object[] {
theStockCode,
theType}, this.getStockImage_kByCodeOperationCompleted, userState);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -