SoapMessage.Action Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
The SOAPAction HTTP request header field for the SOAP request or SOAP response.
Examples
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)
Remarks
The Action property can be accessed during any SoapMessageStage.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.