SoapMessage::Action Property

 

When overridden in a derived class, 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() abstract;
}

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.

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

.NET Framework
Available since 1.1
Return to top
Show: