SoapServerMessage::Action Property

 

Gets the SOAPAction HTTP request header field for the SOAP request or SOAP response.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property String^ Action {
	virtual String^ get() override;
}

Property Value

Type: System::String^

The SOAPAction HTTP request header field for the SOAP request or SOAP response.

The Action property can be accessed during any SoapMessageStage.

The following code fragment is part of a SOAP extension that logs the SOAP messages sent and received by an XML Web service. This particular fragment outputs to that log file the value of the SOAPAction HTTP request header field.

.NET Framework
Available since 1.1
Return to top
Show: