MessageProcessingHandler::ProcessResponse Method (HttpResponseMessage^, CancellationToken)

.NET Framework (current version)
 

Perform processing on each response from the server.

Namespace:   System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

protected:
virtual HttpResponseMessage^ ProcessResponse(
	HttpResponseMessage^ response,
	CancellationToken cancellationToken
) abstract

Parameters

response
Type: System.Net.Http::HttpResponseMessage^

The HTTP response message to process.

cancellationToken
Type: System.Threading::CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type: System.Net.Http::HttpResponseMessage^

The HTTP response message that was processed.

An application would override this method to implement custom processing of the HTTP response message after it is received from the server.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: