LEADTOOLS (Leadtools.Logging assembly)
LEAD Technologies, Inc

Exception(String,Exception) Method






The source of the message.
The exception to log.
Logs the specified entry as an exception.
Syntax
public void Exception( 
   string source,
   Exception e
)
'Declaration
 
Public Overloads Sub Exception( _
   ByVal source As String, _
   ByVal e As Exception _
) 
'Usage
 
Dim instance As Logger
Dim source As String
Dim e As Exception
 
instance.Exception(source, e)
public void Exception( 
   string source,
   HResult e
)
 function Leadtools.Logging.Logger.Exception(String,Exception)( 
   source ,
   e 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Logger Class
Logger Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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