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

ICustomLogRecordBuilder.SetException Method

SetException(Exception)

Assigns an System.Exception to the record.

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

The System.Exception.