TextReturnReader::Read Method (WebResponse^, Stream^)

 
Use BaseTrue

Parses text contained in the HTTP response.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
virtual Object^ Read(
	WebResponse^ response,
	Stream^ responseStream
) override

Parameters

response
Type: System.Net::WebResponse^

A WebResponse object containing the output message for an operation.

responseStream
Type: System.IO::Stream^

A Stream whose content is the body of the HTTP response represented by the response parameter.

Return Value

Type: System::Object^

An object containing the deserialized Web method return value.

To parse the text content of the HTTP response, the TextReturnReader class's implementation of the Read method uses the PatternMatcher object passed as an argument to the Initialize method. It closes the response stream before returning the deserialized Web method return value.

.NET Framework
Available since 1.1
Return to top
Show: