Microsoft Identity Integration Server 2003 Developer Reference

Logging.LogException (Exception, String, String, Boolean)

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.
[C#]
public void LogException(
  Exception ex,
  String caller,
  String details,
  Boolean handledException
);
[Visual Basic .NET]
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 Values

This method has no return values.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.Logging.
Assembly: Requires Logging (in Logging.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

Logging