Error
|
The ErrorLogger type exposes the following members.
Name | Description | |
---|---|---|
ActionTextMethod | Gets or sets the Delegate that provides text stating the action(s) that can be taken by the end-user after an Exception is encountered. | |
ApplicationName | Gets the name of the currently executing application. | |
ApplicationType | Gets the type of the currently executing application. | |
CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component) |
|
ContactEmail | Gets or sets the e-mail address where e-mail messages containing Exception information are to be sent when the LogToEmail property is set to true. | |
ContactName | Gets or sets the name of the person who can be contacted by the end-user in case of an Exception. | |
ContactPhone | Gets or sets the phone number that can be used by the end-user to communicate about an encountered Exception. | |
Container | Gets the IContainer that contains the Component. (Inherited from Component) |
|
DatabaseLogSize | Gets or sets the maximum exception log size to maintain when logging exceptions to the database. | |
DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component) |
|
Enabled | Gets or sets a boolean value that indicates whether the ErrorLogger object is currently enabled. | |
ErrorLog | Get the LogFile object used for logging Exception information to a file. | |
ErrorTextMethod | Gets or sets the Delegate that provides common text stating what could have possibly caused the Exception. | |
Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component) |
|
ExitOnUnhandledException | Gets or sets a boolean value that indicates whether the application will terminate after logging an unhandled Exception. | |
HandleUnhandledException | Gets or sets a boolean value that indicates whether the ErrorLogger object must register itself to handle Exception that are not trapped inside of a try-catch block. | |
IsDisposed | Gets a flag that indicates whether the object has been disposed. | |
LastException | Get the last encountered Exception. | |
Loggers | Gets a list of methods registered for logging information about an encountered Exception. | |
LogToDatabase | Gets or sets a boolean value that indicates whether Exception information is to be written to the database. | |
LogToEmail | Gets or sets a boolean value that indicates whether Exception information is to be sent in an e-mail to the ContactEmail address. | |
LogToEventLog | Gets or sets a boolean value that indicates whether Exception information is to be written to the EventLog. | |
LogToFile | Gets or sets a boolean value that indicates whether Exception information is to be written to the ErrorLog. | |
LogToUI | Gets or sets a boolean value that indicates whether Exception information is to be displayed on the application UI. | |
LogUserInfo | Gets or sets a boolean value that indicates whether information about local user (for windows applications) or remote user (for web applications) is to be logged when logging an Exception. | |
MoreInfoTextMethod | Gets or sets the Delegate that provides text containing detailed information about the encountered Exception. | |
Name | Gets the unique identifier of the ErrorLogger object. | |
PersistSettings | Gets or sets a boolean value that indicates whether the settings of ErrorLogger object are to be saved to the config file. | |
ScopeTextMethod | Gets or sets the Delegate that provides text stating what is going to happen as a result of the Exception. | |
SettingsCategory | Gets or sets the category under which the settings of ErrorLogger object are to be saved to the config file if the PersistSettings property is set to true. | |
Site | Gets or sets the ISite of the Component. (Inherited from Component) |
|
SmtpServer | Gets or sets the SMTP server to be used for sending e-mail messages containing Exception information to the ContactEmail address. | |
Status | Gets the descriptive status of the ErrorLogger object. | |
SuppressInteractiveLogging | Gets or sets flag that controls if Loggers requiring interaction either directly or indirectly when logging handled Exception using the Log(Exception) method are enabled. |