Leggere in inglese

Condividi tramite


HttpApplication.AddOnPreRequestHandlerExecuteAsync Metodo

Definizione

Consente di aggiungere l'evento PreRequestHandlerExecute specificato all'insieme di gestori eventi PreRequestHandlerExecute asincroni relativo alla richiesta corrente.

Overload

AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)

Consente di aggiungere l'evento PreRequestHandlerExecute specificato all'insieme di gestori eventi PreRequestHandlerExecute asincroni relativo alla richiesta corrente.

AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)

Consente di aggiungere l'evento PreRequestHandlerExecute specificato all'insieme di gestori eventi PreRequestHandlerExecute asincroni relativo alla richiesta corrente.

AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)

Consente di aggiungere l'evento PreRequestHandlerExecute specificato all'insieme di gestori eventi PreRequestHandlerExecute asincroni relativo alla richiesta corrente.

public void AddOnPreRequestHandlerExecuteAsync(System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);

Parametri

bh
BeginEventHandler

Oggetto BeginEventHandler che avvia l'elaborazione asincrona dell'evento PreRequestHandlerExecute.

eh
EndEventHandler

Oggetto EndEventHandler che termina l'elaborazione asincrona dell'evento PreRequestHandlerExecute.

Si applica a

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)

Consente di aggiungere l'evento PreRequestHandlerExecute specificato all'insieme di gestori eventi PreRequestHandlerExecute asincroni relativo alla richiesta corrente.

public void AddOnPreRequestHandlerExecuteAsync(System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);

Parametri

beginHandler
BeginEventHandler

Oggetto BeginEventHandler che avvia l'elaborazione asincrona dell'evento PreRequestHandlerExecute.

endHandler
EndEventHandler

Oggetto EndEventHandler che termina l'elaborazione asincrona dell'evento PreRequestHandlerExecute.

state
Object

Stato associato da aggiungere all'insieme PreRequestHandlerExecute asincrono.

Si applica a

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1