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

 
Use BaseTrue

Returns null instead of deserializing the HTTP response stream into a Web method return value.

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^

null.

The NopReturnReader class's implementation of the Read method does no reading. Instead it returns null. It also closes the response stream.

.NET Framework
Available since 1.1
Return to top
Show: