Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class WrongActivityTypeException

OptimaJet.Workflow.Core.Fault.WrongActivityTypeException

Represents an error raised when an activity has a different type than the one expected by an operation.

public class WrongActivityTypeException : Exception, ISerializable

Inheritance

  • Object
  • Exception

Implemented Interfaces

  • System.Runtime.Serialization.ISerializable

Constructors

public WrongActivityTypeException(string activityName, string schemeCode, ActivityType expectedType) #
Initializes a new instance of the WrongActivityTypeException class with a detailed message.

Parameters

Name
Type
Description
activityName
String
The name of the activity that has a different type.
schemeCode
String
The code of the scheme where the activity is defined.
expectedType
ActivityType
The expected activity type for the current operation.