SoapMessage.MethodInfo 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当在派生类中重写时,获取为要其发出 SOAP 请求的 XML Web services 方法的方法原型的表示形式。
public:
abstract property System::Web::Services::Protocols::LogicalMethodInfo ^ MethodInfo { System::Web::Services::Protocols::LogicalMethodInfo ^ get(); };
public abstract System.Web.Services.Protocols.LogicalMethodInfo MethodInfo { get; }
member this.MethodInfo : System.Web.Services.Protocols.LogicalMethodInfo
Public MustOverride ReadOnly Property MethodInfo As LogicalMethodInfo
属性值
一个 LogicalMethodInfo,它表示使用 SOAP 请求的 XML Web services 方法。
示例
myStreamWriter->WriteLine(
"The method that has been invoked is: " );
myStreamWriter->WriteLine( "\t{0}", message->MethodInfo );
myStreamWriter.WriteLine("The method that has been invoked is: ");
myStreamWriter.WriteLine("\t" + message.MethodInfo);
myStreamWriter.WriteLine("The method that has been invoked is: ")
myStreamWriter.WriteLine(ControlChars.Tab & message.MethodInfo.ToString())
注解
虽然MethodInfo可以在任何SoapMessageStage期间访问,但它只具有数据和AfterDeserializeBeforeSerialize数据。