Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
96 lines (92 sloc) 6.14 KB
<Type Name="IHttpAsyncHandler" FullName="System.Web.IHttpAsyncHandler">
<TypeSignature Language="C#" Value="public interface IHttpAsyncHandler : System.Web.IHttpHandler" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IHttpAsyncHandler implements class System.Web.IHttpHandler" />
<TypeSignature Language="DocId" Value="T:System.Web.IHttpAsyncHandler" />
<TypeSignature Language="VB.NET" Value="Public Interface IHttpAsyncHandler&#xA;Implements IHttpHandler" />
<TypeSignature Language="C++ CLI" Value="public interface class IHttpAsyncHandler : System::Web::IHttpHandler" />
<TypeSignature Language="F#" Value="type IHttpAsyncHandler = interface&#xA; interface IHttpHandler" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.Web.IHttpHandler</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Defines the contract that HTTP asynchronous handler objects must implement.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
An <xref:System.Web.IHttpAsyncHandler> class can be associated with a file name extension or a particular URL by a configuration file, in the `httpHandlers` configuration section. The ASP.NET infrastructure will then instantiate and call the handler when the corresponding request is received. Alternatively, the handler can be defined in an .ashx file and when the corresponding request is received for the .ashx file the handler will be executed.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="BeginProcessRequest">
<MemberSignature Language="C#" Value="public IAsyncResult BeginProcessRequest (System.Web.HttpContext context, AsyncCallback cb, object extraData);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.IAsyncResult BeginProcessRequest(class System.Web.HttpContext context, class System.AsyncCallback cb, object extraData) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext,System.AsyncCallback,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function BeginProcessRequest (context As HttpContext, cb As AsyncCallback, extraData As Object) As IAsyncResult" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; IAsyncResult ^ BeginProcessRequest(System::Web::HttpContext ^ context, AsyncCallback ^ cb, System::Object ^ extraData);" />
<MemberSignature Language="F#" Value="abstract member BeginProcessRequest : System.Web.HttpContext * AsyncCallback * obj -&gt; IAsyncResult" Usage="iHttpAsyncHandler.BeginProcessRequest (context, cb, extraData)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IAsyncResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.Web.HttpContext" />
<Parameter Name="cb" Type="System.AsyncCallback" />
<Parameter Name="extraData" Type="System.Object" />
</Parameters>
<Docs>
<param name="context">An <see cref="T:System.Web.HttpContext" /> object that provides references to intrinsic server objects (for example, <see langword="Request" />, <see langword="Response" />, <see langword="Session" />, and <see langword="Server" />) used to service HTTP requests.</param>
<param name="cb">The <see cref="T:System.AsyncCallback" /> to call when the asynchronous method call is complete. If <paramref name="cb" /> is <see langword="null" />, the delegate is not called.</param>
<param name="extraData">Any extra data needed to process the request.</param>
<summary>Initiates an asynchronous call to the HTTP handler.</summary>
<returns>An <see cref="T:System.IAsyncResult" /> that contains information about the status of the process.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EndProcessRequest">
<MemberSignature Language="C#" Value="public void EndProcessRequest (IAsyncResult result);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void EndProcessRequest(class System.IAsyncResult result) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.IHttpAsyncHandler.EndProcessRequest(System.IAsyncResult)" />
<MemberSignature Language="VB.NET" Value="Public Sub EndProcessRequest (result As IAsyncResult)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void EndProcessRequest(IAsyncResult ^ result);" />
<MemberSignature Language="F#" Value="abstract member EndProcessRequest : IAsyncResult -&gt; unit" Usage="iHttpAsyncHandler.EndProcessRequest result" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="result" Type="System.IAsyncResult" />
</Parameters>
<Docs>
<param name="result">An <see cref="T:System.IAsyncResult" /> that contains information about the status of the process.</param>
<summary>Provides an asynchronous process End method when the process ends.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use <xref:System.Web.IHttpAsyncHandler.EndProcessRequest%2A> to raise any exceptions caught during the asynchronous process.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.