 | ExceptionLayoutRendererAppendHResult Method |
Appends the HResult of an Exception to the specified StringBuilder.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxprotected virtual void AppendHResult(
StringBuilder sb,
Exception ex
)
Protected Overridable Sub AppendHResult (
sb As StringBuilder,
ex As Exception
)
Dim sb As StringBuilder
Dim ex As Exception
Me.AppendHResult(sb, ex)
abstract AppendHResult :
sb : StringBuilder *
ex : Exception -> unit
override AppendHResult :
sb : StringBuilder *
ex : Exception -> unit
Parameters
- sb
- Type: System.TextStringBuilder
The StringBuilder to append the rendered data to. - ex
- Type: SystemException
The Exception whose HResult should be appended.
See Also