SoapMessage.Action Propriedade
Definição
Quando substituído em uma classe derivada, obtém o campo de cabeçalho de solicitação HTTP SOAPAction para a solicitação SOAP ou a resposta SOAP.When overridden in a derived class, gets the SOAPAction HTTP request header field for the SOAP request or SOAP response.
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
Valor da propriedade
O campo de cabeçalho de solicitação HTTP SOAPaction para a solicitação SOAP ou a resposta SOAP.The SOAPAction HTTP request header field for the SOAP request or SOAP response.
Exemplos
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)
Comentários
A Action propriedade pode ser acessada durante qualquer SoapMessageStage .The Action property can be accessed during any SoapMessageStage.