Method | 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.
|
Method | 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 ( ) : |
||
return |
protected OnDisposingMail ( |
||
args | ||
return | void |
protected OnError ( |
||
e | ||
context | System.Web.HttpContextBase | |
return | void |
protected OnError ( object sender, |
||
sender | object | |
e | ||
return | void |
protected OnErrorSignaled ( object sender, |
||
sender | object | |
args | ||
return | void |
protected OnFiltering ( |
||
args | ||
return | void |
protected OnInit ( System.Web.HttpApplication application ) : void | ||
application | System.Web.HttpApplication | |
return | void |
protected OnMailed ( |
||
args | ||
return | void |
protected OnMailing ( |
||
args | ||
return | void |
protected ReportErrorAsync ( Error error ) : void | ||
error | Error | |
return | void |
protected SendMail ( |
||
return | void |