ELMAH detecta las excepciones no controladas mediante el evento Error del objeto HttpApplication.
ELMAH discovers unhandled exceptions by way of the HttpApplication object's Error event.
El método OnError() hace referencia al objeto HttpApplication y llama al método LogException(), transmitiendo los detalles de la última excepción, así como la instancia de HttpContext específica de la solicitud determinada.
The OnError() method references the HttpApplication object and calls the LogException() method, passing in the details of the last exception, as well as the HttpContext instance specific to the particular request.
El ejemplo siguiente muestra cómo usar el RequestNotification enumeración con el CurrentNotification propiedad para determinar qué eventos del actual HttpApplication instancia está procesando la solicitud.Consulte también
The following example shows how to use the RequestNotification enumeration with the CurrentNotification property to determine which event of the current HttpApplication instance is processing the request.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.
Aucun résultat pour cette recherche.
Synonymes et analogies de "HttpApplication" en espagnol