﻿<?xml version="1.0" encoding="utf-8"?><Type Name="MessageProcessingHandler" FullName="System.Net.Http.MessageProcessingHandler"><TypeSignature Language="C#" Value="public abstract class MessageProcessingHandler : System.Net.Http.DelegatingHandler" /><TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit MessageProcessingHandler extends System.Net.Http.DelegatingHandler" /><AssemblyInfo><AssemblyName>System.Net.Http</AssemblyName><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Net.Http.DelegatingHandler</BaseTypeName></Base><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The actual creation of response messages is delegated to an inner handler. The <see cref="T:System.Net.Http.MessageProcessingHandler" /> is useful if the handler doesn't require asynchronous operations, because operations on request and response messages are fast.</para><para>The most common usage is to derive from this class and override the <see cref="M:System.Net.Http.MessageProcessingHandler.ProcessRequest(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" /> and  <see cref="M:System.Net.Http.MessageProcessingHandler.ProcessResponse(System.Net.Http.HttpResponseMessage,System.Threading.CancellationToken)" />  methods. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>A base type for handlers which only do some small processing of request and/or response messages.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected MessageProcessingHandler ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates an instance of a <see cref="T:System.Net.Http.MessageProcessingHandler" /> class.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected MessageProcessingHandler (System.Net.Http.HttpMessageHandler innerHandler);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.Net.Http.HttpMessageHandler innerHandler) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="innerHandler" Type="System.Net.Http.HttpMessageHandler" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates an instance of a <see cref="T:System.Net.Http.MessageProcessingHandler" /> class with a specific inner handler.</para></summary><param name="innerHandler"><attribution license="cc4" from="Microsoft" modified="false" />The inner handler which is responsible for processing the HTTP response messages.</param></Docs></Member><Member MemberName="ProcessRequest"><MemberSignature Language="C#" Value="protected abstract System.Net.Http.HttpRequestMessage ProcessRequest (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Net.Http.HttpRequestMessage ProcessRequest(class System.Net.Http.HttpRequestMessage request, valuetype System.Threading.CancellationToken cancellationToken) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Net.Http.HttpRequestMessage</ReturnType></ReturnValue><Parameters><Parameter Name="request" Type="System.Net.Http.HttpRequestMessage" /><Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>An application would override this method to implement custom processing of the HTTP request message before it is sent to the server.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs processing on each request sent to the server.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns <see cref="T:System.Net.Http.HttpRequestMessage" />.</para><para>The HTTP request message that was processed.</para></returns><param name="request"><attribution license="cc4" from="Microsoft" modified="false" />The HTTP request message to process.</param><param name="cancellationToken"><attribution license="cc4" from="Microsoft" modified="false" />A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param></Docs></Member><Member MemberName="ProcessResponse"><MemberSignature Language="C#" Value="protected abstract System.Net.Http.HttpResponseMessage ProcessResponse (System.Net.Http.HttpResponseMessage response, System.Threading.CancellationToken cancellationToken);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Net.Http.HttpResponseMessage ProcessResponse(class System.Net.Http.HttpResponseMessage response, valuetype System.Threading.CancellationToken cancellationToken) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Net.Http.HttpResponseMessage</ReturnType></ReturnValue><Parameters><Parameter Name="response" Type="System.Net.Http.HttpResponseMessage" /><Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>An application would override this method to implement custom processing of the HTTP response message after it is received from the server.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Perform processing on each response from the server.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns <see cref="T:System.Net.Http.HttpResponseMessage" />.</para><para>The HTTP response message that was processed.</para></returns><param name="response"><attribution license="cc4" from="Microsoft" modified="false" />The HTTP response message to process.</param><param name="cancellationToken"><attribution license="cc4" from="Microsoft" modified="false" />A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param></Docs></Member><Member MemberName="SendAsync"><MemberSignature Language="C#" Value="protected override sealed System.Threading.Tasks.Task&lt;System.Net.Http.HttpResponseMessage&gt; SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);" /><MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig virtual instance class System.Threading.Tasks.Task`1&lt;class System.Net.Http.HttpResponseMessage&gt; SendAsync(class System.Net.Http.HttpRequestMessage request, valuetype System.Threading.CancellationToken cancellationToken) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Diagnostics.DebuggerStepThrough</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.CompilerServices.AsyncStateMachine(typeof(System.Net.Http.MessageProcessingHandler/&lt;SendAsync&gt;c__async0))</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Threading.Tasks.Task&lt;System.Net.Http.HttpResponseMessage&gt;</ReturnType></ReturnValue><Parameters><Parameter Name="request" Type="System.Net.Http.HttpRequestMessage" /><Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This operation does not block. This overridable implementation of <see cref="M:System.Net.Http.MessageProcessingHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" /> method forwards the HTTP request to the inner handler to send to the server as an asynchronous operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns <see cref="T:System.Threading.Tasks.Task`1" />.</para><para>The task object representing the asynchronous operation.</para></returns><param name="request"><attribution license="cc4" from="Microsoft" modified="false" />The HTTP request message to send to the server.</param><param name="cancellationToken"><attribution license="cc4" from="Microsoft" modified="false" />A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param></Docs></Member></Members></Type>