SaaS CMS has officially launched! Learn more now.

Class WorkflowValidationFailedException

Represents an System.Exception that occurs when a workflow does not pass validation. This class cannot be inherited.

Inheritance
System.Object
System.Exception
WorkflowValidationFailedException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.WorkflowCompatibility
Assembly: Mediachase.Commerce.dll
Version: 11.8.3
Syntax
public sealed class WorkflowValidationFailedException : Exception, ISerializable, _Exception

Constructors

WorkflowValidationFailedException()

Initializes a new instance of the WorkflowValidationFailedException class.

Declaration
public WorkflowValidationFailedException()

WorkflowValidationFailedException(String)

Initializes a new instance of the WorkflowValidationFailedException class. The exception message is passed as a parameter.

Declaration
public WorkflowValidationFailedException(string message)
Parameters
Type Name Description
System.String message

The exception message.

WorkflowValidationFailedException(String, ValidationErrorCollection)

Initializes a new instance of the WorkflowValidationFailedException class. The exception message and the errors collection are passed as parameters.

Declaration
public WorkflowValidationFailedException(string message, ValidationErrorCollection errors)
Parameters
Type Name Description
System.String message

The exception message.

ValidationErrorCollection errors

The ValidationErrorCollection associated with this exception.

WorkflowValidationFailedException(String, Exception)

Initializes a new instance of the WorkflowValidationFailedException class. The exception message and the inner exception are passed as parameters.

Declaration
public WorkflowValidationFailedException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The exception message.

System.Exception innerException

The System.Exception.InnerException associated with this exception.

Properties

Errors

Returns ValidationErrors that were obtained when creating/validating workflows.

Declaration
public ValidationErrorCollection Errors { get; }
Property Value
Type Description
ValidationErrorCollection

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception