MetalamaAPI documentationFlashtrace APIFlashtrace.​ActivitiesILog­ActivitySet­Exception
Open sandboxFocus

ILogActivity.SetException Method

SetException(Exception, in CloseActivityOptions)

Closes the activity with an System.Exception.

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

An System.Exception.

CloseActivityOptions options

Options.

SetException(Exception, in CloseActivityOptions, in CallerInfo)

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