Namespace: Microsoft.MetadirectoryServices.Logging
Assembly: Logging (in logging.dll)
Usage
Visual Basic |
---|
Dim ex As Exception Dim caller As String Dim details As String Dim handledException As Boolean Logging.LogException(ex, caller, details, handledException) |
Syntax
Visual Basic |
---|
Public Shared Sub LogException ( _ ex As Exception, _ caller As String, _ details As String, _ handledException As Boolean _ ) |
C# |
---|
public static void LogException ( Exception ex, string caller, string details, bool handledException ) |
C++ |
---|
public: static void LogException ( Exception^ ex, String^ caller, String^ details, bool handledException ) |
J# |
---|
public static void LogException ( Exception ex, String caller, String details, boolean handledException ) |
JScript |
---|
public static function LogException ( ex : Exception, caller : String, details : String, handledException : boolean ) |
Parameters
- ex
-
The exception to log.
- caller
-
The name of the method in which the exception occurred.
- details
-
Additional information that describes when 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.