AnyReturnReader.Read Method (WebResponse, Stream)

 
Use BaseTrue

Returns the input HTTP response stream.

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

override Read : 
        response:WebResponse *
        responseStream:Stream -> Object

Parameters

response
Type: System.Net.WebResponse

A representation of the HTTP response sent by a Web service, containing the output message for an operation.

responseStream
Type: System.IO.Stream

An output stream whose content is the body of the HTTP response represented by the response parameter.

Return Value

Type: System.Object

The input HTTP response stream.

The AnyReturnReader class's implementation of the Read method does no reading. Instead it simply returns the Stream object passed as a parameter.

.NET Framework
Available since 1.1
Return to top
Show: