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

Initializes a new instance of the ActivityException class.

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public ActivityException(
	ActivityErrorCode code,
	int location,
	string instanceId,
	string message,
	Exception inner = null
)

Parameters

code  ActivityErrorCode
The ActivityErrorCode describing the nature of the problem
location  Int32
The throw location
instanceId  String
The workflow instance running
message  String
The exception message
inner  Exception  (Optional)
Inner exception

Remarks

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

See Also