Méthode | Description | |
---|---|---|
CreateErrorFormatter ( ) : |
Creates the ErrorTextFormatter implementation to be used to format the body of the e-mail.
|
|
GetConfig ( ) : object |
Gets the configuration object used by OnInit to read the settings for module.
|
|
OnDisposingMail ( |
Fires the DisposingMail event.
|
|
OnError ( |
Reports the exception.
|
|
OnError ( object sender, |
The handler called when an unhandled exception bubbles up to the module.
|
|
OnErrorSignaled ( object sender, |
The handler called when an exception is explicitly signaled.
|
|
OnFiltering ( |
Raises the Filtering event.
|
|
OnInit ( System.Web.HttpApplication application ) : void |
Initializes the module and prepares it to handle requests.
|
|
OnMailed ( |
Fires the Mailed event.
|
|
OnMailing ( |
Fires the Mailing event.
|
|
ReportError ( Error error ) : void |
Schedules the error to be e-mailed synchronously.
|
|
ReportErrorAsync ( Error error ) : void |
Schedules the error to be e-mailed asynchronously. The default implementation uses the ThreadPool to queue the reporting. |
|
SendMail ( |
Sends the e-mail using SmtpMail or SmtpClient.
|
Méthode | Description | |
---|---|---|
CreateHtmlAttachment ( string name, string html ) : System.Net.Mail.Attachment | ||
GetSetting ( System.Collections.IDictionary config, string name ) : string | ||
GetSetting ( System.Collections.IDictionary config, string name, string defaultValue ) : string | ||
ReportError ( object state ) : void |
protected CreateErrorFormatter ( ) : |
||
Résultat |
protected OnDisposingMail ( |
||
args | ||
Résultat | void |
protected OnError ( |
||
e | ||
context | System.Web.HttpContextBase | |
Résultat | void |
protected OnError ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected OnErrorSignaled ( object sender, |
||
sender | object | |
args | ||
Résultat | void |
protected OnFiltering ( |
||
args | ||
Résultat | void |
protected OnInit ( System.Web.HttpApplication application ) : void | ||
application | System.Web.HttpApplication | |
Résultat | void |
protected OnMailed ( |
||
args | ||
Résultat | void |
protected OnMailing ( |
||
args | ||
Résultat | void |
protected ReportError ( Error error ) : void | ||
error | Error | |
Résultat | void |
protected ReportErrorAsync ( Error error ) : void | ||
error | Error | |
Résultat | void |
protected SendMail ( |
||
Résultat | void |