Logs an exception with information about the calling method, entry in the connector space, and whether the exception was caught and handled.
Namespace: Microsoft.MetadirectoryServices.Logging
Assembly: Logging (in logging.dll)

Usage

Visual Basic
Dim ex As Exception
Dim caller As String
Dim csentry As CSEntry
Dim handledException As Boolean

Logging.LogException(ex, caller, csentry, handledException)

Syntax

Visual Basic
Public Shared Sub LogException ( _
		ex As Exception, _
		caller As String, _
		csentry As CSEntry, _
		handledException As Boolean _
)
C#
public static void LogException (
		Exception ex,
		string caller,
		CSEntry csentry,
		bool handledException
)
C++
public:
static void LogException (
		Exception^ ex, 
		String^ caller, 
		CSEntry^ csentry, 
		bool handledException
)
J#
public static void LogException (
		Exception ex, 
		String caller, 
		CSEntry csentry, 
		boolean handledException
)
JScript
public static function LogException (
		ex : Exception, 
		caller : String, 
		csentry : CSEntry, 
		handledException : boolean
)

Parameters

ex

The exception to log.

caller

The name of the method in which the exception occurred.

csentry

The entry in the connector space where the exception occurred.

handledException

Whether the exception was caught and handled.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also