PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomICustom­Log­Record­BuilderSet­Exception
Open sandboxFocus

ICustomLogRecordBuilder.SetException Method

SetException(Exception)

Assigns an Exception to the record.

Declaration
void SetException(Exception exception)
Parameters
Type Name Description
Exception exception

The Exception.