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