←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly