PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLog­Activity<TActivity­Description>Set­Exception
Open sandboxFocus

LogActivity<TActivityDescription>.SetException Method

SetException(Exception, in CloseActivityOptions)

Declaration
public void SetException(Exception exception, in CloseActivityOptions options = null)
Parameters
Type Name Description
Exception exception
CloseActivityOptions options

SetException(Exception, in CloseActivityOptions, ref CallerInfo)

Declaration
public void SetException(Exception exception, in CloseActivityOptions options, ref CallerInfo callerInfo)
Parameters
Type Name Description
Exception exception
CloseActivityOptions options
CallerInfo callerInfo