แก้ไข

แชร์ผ่าน


SoapServerMessage.Action Property

Definition

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

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

Property Value

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

Examples

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.

Remarks

The Action property can be accessed during any SoapMessageStage.

Applies to