SoapMessage.MethodInfo Proprietà

Definizione

Quando se ne esegue l'override in una classe derivata, ottiene una rappresentazione del prototipo di metodo per il metodo di servizio Web XML per cui può essere utilizzata la richiesta 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

Valore della proprietà

LogicalMethodInfo

Oggetto LogicalMethodInfo che rappresenta il metodo di servizio Web XML per cui può essere utilizzata la richiesta SOAP.

Esempio

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

Commenti

Anche se MethodInfo è possibile accedervi durante qualsiasi SoapMessageStage, contiene solo dati durante AfterDeserialize e BeforeSerialize.

Si applica a

Vedi anche