Click or drag to resize

ErrorLogger Properties

The ErrorLogger type exposes the following members.

Properties
  Name Description
Public property Code example 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.
(Inherited from ErrorLogger)
Public property ApplicationName Gets the name of the currently executing application.
(Inherited from ErrorLogger)
Public property ApplicationType Gets the type of the currently executing application.
(Inherited from ErrorLogger)
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event.
(Inherited from Component)
Public property 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.
(Inherited from ErrorLogger)
Public property ContactName Gets or sets the name of the person who can be contacted by the end-user in case of an Exception.
(Inherited from ErrorLogger)
Public property ContactPhone Gets or sets the phone number that can be used by the end-user to communicate about an encountered Exception.
(Inherited from ErrorLogger)
Public property Container Gets the IContainer that contains the Component.
(Inherited from Component)
Public property DatabaseLogSize Gets or sets the maximum exception log size to maintain when logging exceptions to the database.
(Inherited from ErrorLogger)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
Public property Enabled Gets or sets a boolean value that indicates whether the ErrorLogger object is currently enabled.
(Inherited from ErrorLogger)
Public property ErrorLog Get the LogFile object used for logging Exception information to a file.
(Inherited from ErrorLogger)
Public property Code example ErrorTextMethod Gets or sets the Delegate that provides common text stating what could have possibly caused the Exception.
(Inherited from ErrorLogger)
Protected property Events Gets the list of event handlers that are attached to this Component.
(Inherited from Component)
Public property ExitOnUnhandledException Gets or sets a boolean value that indicates whether the application will terminate after logging an unhandled Exception.
(Inherited from ErrorLogger)
Public property 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.
(Inherited from ErrorLogger)
Public property IsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from ErrorLogger)
Public property LastException Get the last encountered Exception.
(Inherited from ErrorLogger)
Public property Loggers Gets a list of methods registered for logging information about an encountered Exception.
(Inherited from ErrorLogger)
Public property LogToDatabase Gets or sets a boolean value that indicates whether Exception information is to be written to the database.
(Inherited from ErrorLogger)
Public property LogToEmail Gets or sets a boolean value that indicates whether Exception information is to be sent in an e-mail to the ContactEmail address.
(Inherited from ErrorLogger)
Public property LogToEventLog Gets or sets a boolean value that indicates whether Exception information is to be written to the EventLog.
(Inherited from ErrorLogger)
Public property LogToFile Gets or sets a boolean value that indicates whether Exception information is to be written to the ErrorLog.
(Inherited from ErrorLogger)
Public property LogToScreenshot Gets or sets a boolean value that indicates whether a screenshot of the user's desktop is to be taken when an Exception is logged.
Public property LogToUI Gets or sets a boolean value that indicates whether Exception information is to be displayed on the application UI.
(Inherited from ErrorLogger)
Public property 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.
(Inherited from ErrorLogger)
Public property MoreInfoTextMethod Gets or sets the Delegate that provides text containing detailed information about the encountered Exception.
(Inherited from ErrorLogger)
Public property Name Gets the unique identifier of the ErrorLogger object.
(Inherited from ErrorLogger)
Public property PersistSettings Gets or sets a boolean value that indicates whether the settings of ErrorLogger object are to be saved to the config file.
(Inherited from ErrorLogger)
Public property Code example ScopeTextMethod Gets or sets the Delegate that provides text stating what is going to happen as a result of the Exception.
(Inherited from ErrorLogger)
Public property 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.
(Inherited from ErrorLogger)
Public property Site Gets or sets the ISite of the Component.
(Inherited from Component)
Public property SmtpServer Gets or sets the SMTP server to be used for sending e-mail messages containing Exception information to the ContactEmail address.
(Inherited from ErrorLogger)
Public property Status Gets the descriptive status of the ErrorLogger object.
(Overrides ErrorLoggerStatus)
Public property 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.
(Inherited from ErrorLogger)
Top
See Also