ActivityException Constructor (ActivityErrorCode, Int32, String, String, Exception)

Scanjour Workflow4 Reference Manual
Initializes a new instance of the ActivityException class.

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

public ActivityException(
	ActivityErrorCode code,
	int location,
	string instanceId,
	string message,
	Exception inner = null
)

Parameters

code
Type: Scanjour.Workflow4.ActivityLibraryActivityErrorCode
The ActivityErrorCode describing the nature of the problem
location
Type: SystemInt32
The throw location
instanceId
Type: SystemString
The workflow instance running
message
Type: SystemString
The exception message
inner (Optional)
Type: SystemException
Inner exception
Remarks

OBS -- only to be used for test. See note in WorkflowHost.cs
See Also

Reference