私はいくつかのコードサンプルを調べていましたが、私はused.Thisクラスがxsdから生成されたように見えます。beginInvokeとDebuggerStepThroughAttributeと他の属性を使用する理由
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="FlightHistoryGetRecordsSOAPBinding", Namespace="http://www.pathfinder-xml.com/FlightHistoryService.wsdl")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
[return: System.Xml.Serialization.XmlElementAttribute("FlightHistoryGetRecordsResponse", Namespace="http://pathfinder-xml/FlightHistoryService.xsd")]
はまた、次の方法を理解することができませんでした:
public System.IAsyncResult BeginFlightHistoryGetRecordsOperation(FlightHistoryGetRecordsRequest FlightHistoryGetRecordsRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FlightHistoryGetRecordsOperation", new object[] {
FlightHistoryGetRecordsRequest}, callback, asyncState);
}
/// <remarks/>
public FlightHistoryGetRecordsResponse EndFlightHistoryGetRecordsOperation(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FlightHistoryGetRecordsResponse)(results[0]));
}
だから私は、次の質問があります。それぞれが行う属性ん何
1.。
2.属性でリターンするのは何ですか?
FlightHistoryGetRecordsResponse
メソッドで使用されているパラメータは何ですか、なぜそれがthis.BeginInvoke
を返すのですか?