[This is preliminary documentation and is subject to change.]
Writes the diagnostic message and exception at the Fatal level.
Namespace:
NLogAssembly: NLog (in NLog.dll) Version: 2.0.0.0
Syntax
| C# |
|---|
public void FatalException( string message, Exception exception ) |
| Visual Basic (Declaration) |
|---|
Public Sub FatalException ( _ message As String, _ exception As Exception _ ) |
| Visual C++ |
|---|
public: void FatalException( String^ message, Exception^ exception ) |
Parameters
- message
- Type: System..::.String
A string to be written.
- exception
- Type: System..::.Exception
An exception to be logged.
