MessageProcessingHandler.ProcessRequest Method
Namespace: System.Net.Http
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Protected MustOverride Function ProcessRequest ( _
request As HttpRequestMessage, _
cancellationToken As CancellationToken _
) As HttpRequestMessage
'Usage
Dim request As HttpRequestMessage
Dim cancellationToken As CancellationToken
Dim returnValue As HttpRequestMessage
returnValue = Me.ProcessRequest(request, _
cancellationToken)
protected abstract HttpRequestMessage ProcessRequest(
HttpRequestMessage request,
CancellationToken cancellationToken
)
protected:
virtual HttpRequestMessage^ ProcessRequest(
HttpRequestMessage^ request,
CancellationToken cancellationToken
) abstract
abstract ProcessRequest :
request:HttpRequestMessage *
cancellationToken:CancellationToken -> HttpRequestMessage
protected abstract function ProcessRequest(
request : HttpRequestMessage,
cancellationToken : CancellationToken
) : HttpRequestMessage
Parameters
- request
Type: System.Net.Http.HttpRequestMessage
- cancellationToken
Type: System.Threading.CancellationToken
Return Value
Type: System.Net.Http.HttpRequestMessage
Returns HttpRequestMessage.