- source
- The source of the message.
- e
- The Exception to log.
- custom
- Custom information associated with the exception.
| Visual Basic (Declaration) | |
|---|---|
Overloads Public Sub Exception( _ ByVal source As String, _ ByVal e As Exception, _ ByVal custom As Dictionary(Of String,Object) _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Logger Dim source As String Dim e As Exception Dim custom As Dictionary(Of String,Object) instance.Exception(source, e, custom) | |
| C++/CLI | |
|---|---|
public: void Exception( String^ source, Exception^ e, Dictionary<String^,Object^>^ custom ) | |
Parameters
- source
- The source of the message.
- e
- The Exception to log.
- custom
- Custom information associated with the exception.
Exception log entries are marked as LogType.Error.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code