This documentation is archived and is not being maintained.

SoapMessage Properties

The properties of the SoapMessage class are listed here. For a complete list of SoapMessage class members, see the SoapMessage Members topic.

Public Properties

public propertyAction

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the SOAPAction HTTP request header field for the SOAP request or SOAP response.
public propertyContentEncoding Gets or sets the contents of the Content-Encoding HTTP header.
public propertyContentType

Supported by the .NET Compact Framework.

Gets or sets the HTTP Content-Type of the SOAP request or SOAP response.
public propertyException

Supported by the .NET Compact Framework.

Gets the SoapException from the call to the XML Web service method.
public propertyHeaders

Supported by the .NET Compact Framework.

A collection of the SOAP headers applied to the current SOAP request or SOAP response.
public propertyMethodInfo

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a representation of the method prototype for the XML Web service method for which the SOAP request is intended.
public propertyOneWay

Supported by the .NET Compact Framework.

Gets a value indicating the SoapDocumentMethodAttribute.OneWay property of either the SoapDocumentMethodAttribute or the SoapRpcMethodAttribute attribute applied to the XML Web service method.
public propertyStage

Supported by the .NET Compact Framework.

Gets the SoapMessageStage of the SoapMessage.
public propertyStream

Supported by the .NET Compact Framework.

Gets the data representing the SOAP request or SOAP response in the form of a Stream.
public propertyUrl

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the base URL of the XML Web service.

See Also

SoapMessage Class | System.Web.Services.Protocols Namespace

Show: