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

Method ILogActivity.SetException

ILogActivity.SetException(Exception, in CloseActivityOptions)

Declaration
void ILogActivity.SetException(Exception exception, in CloseActivityOptions options)
Parameters
Type Name Description
Exception exception
CloseActivityOptions options
Implements
ILogActivity.SetException(Exception, in CloseActivityOptions)

ILogActivity.SetException(Exception, in CloseActivityOptions, ref CallerInfo)

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