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 MustOverride ReadOnly Property Action As String

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(ControlChars.Tab & message.Action)

.NET Framework
Available since 1.1
Return to top
Show: