 | ExceptionLayoutRenderer.AppendData Method |
Appends the contents of an Exception's Data property to the specified StringBuilder.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntaxprotected virtual void AppendData(
StringBuilder sb,
Exception ex
)
Protected Overridable Sub AppendData (
sb As StringBuilder,
ex As Exception
)
Dim sb As StringBuilder
Dim ex As Exception
Me.AppendData(sb, ex)
abstract AppendData :
sb : StringBuilder *
ex : Exception -> unit
override AppendData :
sb : StringBuilder *
ex : Exception -> unit
Parameters
- sb
- Type: System.Text.StringBuilder
The StringBuilder to append the rendered data to. - ex
- Type: System.Exception
The Exception whose Data property elements should be appended.
See Also