LEADTOOLS (Leadtools.Logging assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Exception(String,Exception) Method
See Also 
Leadtools.Logging Namespace > Logger Class > Exception Method : Exception(String,Exception) Method



source
The source of the message.
e
The exception to log.
source
The source of the message.
e
The exception to log.
Logs the specified entry as an exception.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Exception( _
   ByVal source As String, _
   ByVal e As Exception _
) 
Visual Basic (Usage)Copy Code
Dim instance As Logger
Dim source As String
Dim e As Exception
 
instance.Exception(source, e)
C# 
public void Exception( 
   string source,
   Exception e
)
C++/CLI 
public:
void Exception( 
   String^ source,
   Exception^ e
) 

Parameters

source
The source of the message.
e
The exception to log.

Example

For an example refer to Info(String,String)

Remarks

Exception log entries are marked as LogType.Error.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features