Logging::LogException Method
The LogException (Exception, String, String, Boolean) method logs an exception with information about the calling method, when the exception occurred, and whether the exception was caught and handled.
Syntax
public void LogException(
Exception ex,
String caller,
String details,
Boolean handledException
);
Public Sub LogException( _
ByVal ex As Exception, _
ByVal caller As String, _
ByVal details As String, _
ByVal handledException As Boolean _
)
Implements Logging.LogException
Parameters
ex
The exception to log.caller
The name of the method in which the exception occurred.details
Additional information describing when the exception occurred.handledException
Whether the exception was caught and handled.
Return Value
This method does not return a value.
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices.Logging |
Assembly | Logging (Logging.dll) |
.NET Framework | .NET Framework 2.0 |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009