?? reference.cs
字號:
if ((this.StartMatchOperationCompleted == null)) {
this.StartMatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStartMatchOperationCompleted);
}
this.InvokeAsync("StartMatch", new object[0], this.StartMatchOperationCompleted, userState);
}
private void OnStartMatchOperationCompleted(object arg) {
if ((this.StartMatchCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.StartMatchCompleted(this, new StartMatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/EndMatch", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string EndMatch() {
object[] results = this.Invoke("EndMatch", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void EndMatchAsync() {
this.EndMatchAsync(null);
}
/// <remarks/>
public void EndMatchAsync(object userState) {
if ((this.EndMatchOperationCompleted == null)) {
this.EndMatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEndMatchOperationCompleted);
}
this.InvokeAsync("EndMatch", new object[0], this.EndMatchOperationCompleted, userState);
}
private void OnEndMatchOperationCompleted(object arg) {
if ((this.EndMatchCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.EndMatchCompleted(this, new EndMatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/GetMessage", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetMessage() {
object[] results = this.Invoke("GetMessage", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void GetMessageAsync() {
this.GetMessageAsync(null);
}
/// <remarks/>
public void GetMessageAsync(object userState) {
if ((this.GetMessageOperationCompleted == null)) {
this.GetMessageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMessageOperationCompleted);
}
this.InvokeAsync("GetMessage", new object[0], this.GetMessageOperationCompleted, userState);
}
private void OnGetMessageOperationCompleted(object arg) {
if ((this.GetMessageCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetMessageCompleted(this, new GetMessageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://hawkwolf.com/webservices/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://hawkwolf.com/webservices/", IsNullable=false)]
public partial class CredentialSoapHeader : System.Web.Services.Protocols.SoapHeader {
private string credentialTicketField;
private System.Xml.XmlAttribute[] anyAttrField;
/// <remarks/>
public string CredentialTicket {
get {
return this.credentialTicketField;
}
set {
this.credentialTicketField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr {
get {
return this.anyAttrField;
}
set {
this.anyAttrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void MoveCompletedEventHandler(object sender, MoveCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class MoveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal MoveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void GiveUpCompletedEventHandler(object sender, GiveUpCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GiveUpCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GiveUpCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void StartSetCompletedEventHandler(object sender, StartSetCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class StartSetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal StartSetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void AnswerDrawCompletedEventHandler(object sender, AnswerDrawCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AnswerDrawCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal AnswerDrawCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void AskDrawCompletedEventHandler(object sender, AskDrawCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AskDrawCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal AskDrawCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -