- source
- The source of the message.
- e
- The exception to log.
| Visual Basic (Declaration) | |
|---|---|
Overloads Public Sub Exception( _ ByVal source As String, _ ByVal e As Exception _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Logger Dim source As String Dim e As Exception instance.Exception(source, e) | |
| C++/CLI | |
|---|---|
public: void Exception( String^ source, Exception^ e ) | |
Parameters
- source
- The source of the message.
- e
- The exception to log.
For an example refer to Info(String,String)
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