IHttpAsyncHandler Interface

Definição

Define o contrato que os objetos manipuladores assíncronos HTTP devem implementar.Defines the contract that HTTP asynchronous handler objects must implement.

public interface class IHttpAsyncHandler : System::Web::IHttpHandler
public interface IHttpAsyncHandler : System.Web.IHttpHandler
type IHttpAsyncHandler = interface
    interface IHttpHandler
Public Interface IHttpAsyncHandler
Implements IHttpHandler
Derivado
Implementações

Comentários

Uma IHttpAsyncHandler classe pode ser associada a uma extensão de nome de arquivo ou a uma URL específica por um arquivo de configuração, na httpHandlers seção de configuração.An IHttpAsyncHandler class can be associated with a file name extension or a particular URL by a configuration file, in the httpHandlers configuration section. Em seguida, a infraestrutura ASP.NET criará uma instância e chamará o manipulador quando a solicitação correspondente for recebida.The ASP.NET infrastructure will then instantiate and call the handler when the corresponding request is received. Como alternativa, o manipulador pode ser definido em um arquivo. ashx e quando a solicitação correspondente é recebida para o arquivo. ashx, o manipulador será executado.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.

Propriedades

IsReusable

Obtém um valor que indica se outra solicitação pode usar a instância de IHttpHandler.Gets a value indicating whether another request can use the IHttpHandler instance.

(Herdado de IHttpHandler)

Métodos

BeginProcessRequest(HttpContext, AsyncCallback, Object)

Inicia uma chamada assíncrona para o manipulador HTTP.Initiates an asynchronous call to the HTTP handler.

EndProcessRequest(IAsyncResult)

Fornece um método End de processo assíncrono quando o processo termina.Provides an asynchronous process End method when the process ends.

ProcessRequest(HttpContext)

Permite o processamento de solicitações HTTP da Web por um HttpHandler personalizado que implementa a interface IHttpHandler.Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.

(Herdado de IHttpHandler)

Aplica-se a