| ExceptionLayoutRendererAppendProperties Method |
Appends all the additional properties of an Exception like Data key-value-pairs
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected virtual void AppendProperties(
StringBuilder sb,
Exception ex
)
Protected Overridable Sub AppendProperties (
sb As StringBuilder,
ex As Exception
)
Dim sb As StringBuilder
Dim ex As Exception
Me.AppendProperties(sb, ex)
abstract AppendProperties :
sb : StringBuilder *
ex : Exception -> unit
override AppendProperties :
sb : StringBuilder *
ex : Exception -> unit
Parameters
- sb
- Type: System.TextStringBuilder
The StringBuilder to append the rendered data to. - ex
- Type: SystemException
The Exception whose properties should be appended.
See Also