ActivityException(ActivityErrorCode, Int32, String, Exception, Object) 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,
	Exception inner,
	params Object[] arg
)

Parameters

code  ActivityErrorCode
The ActivityErrorCode describing the nature of the problem
location  Int32
The throw location
instanceId  String
The workflow instance running
inner  Exception
The inner exception
arg  Object
Additional arguments for the message text

Remarks

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

See Also