Exception(string,Exception) Method

Summary

Logs the specified entry as an exception.

Syntax
C#
VB
C++
public void Exception( 
   string source, 
   Exception e 
) 
  
Public Overloads Sub Exception( _ 
   ByVal source As String, _ 
   ByVal e As Exception _ 
)  
public: 
void Exception(  
   String^ source, 
   Exception^ e 
)  

Parameters

source
The source of the message.

e
The exception to log.

Remarks

Exception log entries are marked as LogType.Error.

Example

For an example refer to Info(String,String)

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly