This documentation is archived and is not being maintained.

SoapMessage.Stream Property

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

[Visual Basic]
Public ReadOnly Property Stream As Stream
[C#]
public Stream Stream {get;}
[C++]
public: __property Stream* get_Stream();
[JScript]
public function get Stream() : Stream;

Property Value

A read-only instance of the Stream class.

Remarks

SOAP extensions that inspect the data representing a SOAP request or SOAP response, such as a logging SOAP extension, can use the Stream property to view the data at each SoapMessageStage.

SOAP extensions that modify the data representing a SOAP request or SOAP response, such as encryption or compression SOAP extensions, should do so with the Stream passed into the ChainStream method of SoapExtension. The Stream property of SoapMessage passed into ProcessMessage is read-only.

For more information on modifying the data representing a SOAP request or SOAP response, see ChainStream.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SoapMessage Class | SoapMessage Members | System.Web.Services.Protocols Namespace

Show: