'Declaration
Public Overloads Shared Sub RecordException( _ ByVal sourceProvider As IMessageSourceProvider, _ ByVal exception As Exception, _ ByVal detailsXml As String, _ ByVal category As String, _ ByVal canContinue As Boolean _ )
public static void RecordException( IMessageSourceProvider sourceProvider, Exception exception, string detailsXml, string category, bool canContinue )
Parameters
- sourceProvider
- An IMessageSourceProvider object which supplies the source information about this log message (NOT the exception source information).
- exception
- An Exception object to record as a log message. This call is ignored if null.
- detailsXml
- Optional. An XML document with extended details about the exception. Can be null.
- category
- The application subsystem or logging category that the message will be associated with.
- canContinue
- True if the application can continue after this call, false if this is a fatal error and the application can not continue after this call.