ActivityException(ActivityErrorCode, Int32, String, String, Exception) 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,
string message,
Exception inner = null
)
Public Sub New (
code As ActivityErrorCode,
location As Integer,
instanceId As String,
message As String,
Optional inner As Exception = Nothing
)
public:
ActivityException(
ActivityErrorCode code,
int location,
String^ instanceId,
String^ message,
Exception^ inner = nullptr
)
new :
code : ActivityErrorCode *
location : int *
instanceId : string *
message : string *
?inner : Exception
(* Defaults:
let _inner = defaultArg inner null
*)
-> ActivityException
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
OBS -- only to be used for test. See note in WorkflowHost.cs