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

TextLogRecordBuilder.SetException Method

SetException(Exception)

Sets the exception for the method or activity.

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

An Exception.

Overrides
LogRecordBuilder.SetException(Exception)