Class ParameterAlreadyExistsException
OptimaJet.Workflow.Core.Fault.ParameterAlreadyExistsException
Represents an exception thrown when a workflow parameter with the same name is already present in a scheme.
Namespace: OptimaJet.Workflow.Core.Fault
public class ParameterAlreadyExistsException : Exception, ISerializableType Hierarchy
- Exception
- ParameterAlreadyExistsException Current type
- Implemented interfaces
- ParameterAlreadyExistsException Current type
Constructors
public ParameterAlreadyExistsException(string parameterName, string schemeCode) #Initializes a new instance of the ParameterAlreadyExistsException class for a duplicate parameter name in the specified workflow scheme.
Parameters
Name
Type
Description
parameterNameStringThe name of the parameter that already exists in the scheme.
schemeCodeStringThe workflow scheme code that already contains this parameter.
Remarks
The exception message is initialized using
Parameter with name '{parameterName}' already exists in '{schemeCode}' scheme.