ActivityException(ActivityErrorCode, Int32, String, Exception, Object) Constructor
Initializes a new instance of the ActivityException class.
Namespace: Scanjour.Workflow4.ActivityLibraryAssembly: 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)
public ActivityException(
ActivityErrorCode code,
int location,
string instanceId,
Exception inner,
params Object[] arg
)
Public Sub New (
code As ActivityErrorCode,
location As Integer,
instanceId As String,
inner As Exception,
ParamArray arg As Object()
)
public:
ActivityException(
ActivityErrorCode code,
int location,
String^ instanceId,
Exception^ inner,
... array<Object^>^ arg
)
new :
code : ActivityErrorCode *
location : int *
instanceId : string *
inner : Exception *
arg : Object[] -> ActivityException
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
OBS -- only to be used for test. See note in WorkflowHost.cs