MessageProcessingHandler::ProcessRequest Method (HttpRequestMessage^, CancellationToken)
.NET Framework (current version)
Performs processing on each request sent to the server.
Assembly: System.Net.Http (in System.Net.Http.dll)
protected: virtual HttpRequestMessage^ ProcessRequest( HttpRequestMessage^ request, CancellationToken cancellationToken ) abstract
Parameters
- request
-
Type:
System.Net.Http::HttpRequestMessage^
The HTTP request 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.
An application would override this method to implement custom processing of the HTTP request message before it is sent to 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
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: