Compartir a través de


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

Return Value

Type: System.Net.Http.HttpRequestMessage
Returns HttpRequestMessage.

See Also

Reference

MessageProcessingHandler Class

System.Net.Http Namespace