Class ActivityAlreadyExistsException
OptimaJet.Workflow.Core.Fault.ActivityAlreadyExistsException
Represents an exception raised when a workflow scheme contains an activity with the specified name.
Namespace: OptimaJet.Workflow.Core.Fault
public class ActivityAlreadyExistsException : Exception, ISerializableType Hierarchy
- Exception
- ActivityAlreadyExistsException Current type
- Implemented interfaces
- ActivityAlreadyExistsException Current type
Constructors
public ActivityAlreadyExistsException(string activityName, string schemeCode) #Initializes a new instance of the ActivityAlreadyExistsException class when a duplicate activity name is encountered for a workflow scheme.
Parameters
Name
Type
Description
activityNameStringThe name of the activity that is already present in the scheme.
schemeCodeStringThe code of the workflow scheme that already contains the activity.