Udostępnij za pośrednictwem


SoapMessage.MethodInfo Właściwość

Definicja

Po zastąpieniu w klasie pochodnej pobiera reprezentację prototypu metody dla metody usługi sieci Web XML, dla której ma być przeznaczone żądanie SOAP.

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

Wartość właściwości

LogicalMethodInfo

Reprezentująca LogicalMethodInfo metodę usługi sieci Web XML, dla której ma być przeznaczone żądanie SOAP.

Przykłady

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())

Uwagi

Chociaż MethodInfo można uzyskać dostęp podczas dowolnego SoapMessageStagepliku , zawiera tylko dane podczas AfterDeserialize i BeforeSerialize.

Dotyczy

Zobacz też