SoapMessage.Action Proprietà

Definizione

Quando se ne esegue l'override in una classe derivata, ottiene il campo di intestazione della richiesta HTTP SOAPAction per la richiesta o la risposta SOAP.

public:
 abstract property System::String ^ Action { System::String ^ get(); };
public abstract string Action { get; }
member this.Action : string
Public MustOverride ReadOnly Property Action As String

Valore della proprietà

String

Campo di intestazione della richiesta HTTP SOAPAction per la richiesta o la risposta SOAP.

Esempio

myStreamWriter->WriteLine( "The contents of the SOAPAction HTTP header is:" );
myStreamWriter->WriteLine( "\t{0}", message->Action );
myStreamWriter.WriteLine(
   "The contents of the SOAPAction HTTP header is:");
myStreamWriter.WriteLine("\t" + message.Action);
myStreamWriter.WriteLine("The contents of the SOAPAction HTTP header is:")
myStreamWriter.WriteLine(ControlChars.Tab & message.Action)

Commenti

È possibile accedere alla Action proprietà durante qualsiasi SoapMessageStage.

Si applica a