Click or drag to resize

ExceptionLayoutRendererAppendHResult Method

Appends the HResult of an Exception to the specified StringBuilder.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
protected virtual void AppendHResult(
	StringBuilder sb,
	Exception ex
)

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