ValidationErrorInfo Constructors

Definition

Creates a new instance of the ValidationErrorInfo class.

Overloads

ValidationErrorInfo(ValidationError)

Creates a new instance of the ValidationErrorInfo class with the specified validation error.

ValidationErrorInfo(String)

Creates a new instance of the ValidationErrorInfo class that contains information about a specific error.

ValidationErrorInfo(ValidationError)

Creates a new instance of the ValidationErrorInfo class with the specified validation error.

C#
public ValidationErrorInfo(System.Activities.Validation.ValidationError validationError);

Parameters

validationError
ValidationError

An exception that occurs during the validation of a workflow activity.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ValidationErrorInfo(String)

Creates a new instance of the ValidationErrorInfo class that contains information about a specific error.

C#
public ValidationErrorInfo(string message);

Parameters

message
String

An alphanumeric message that provides additional information about the error.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1