Edit

Share via


ValidationErrorInfo Class

Definition

Provides a container for all the properties attached to an instance of a validation error that occurred during the design time or run time of a workflow activity.

public ref class ValidationErrorInfo
[System.Serializable]
public class ValidationErrorInfo
[<System.Serializable>]
type ValidationErrorInfo = class
Public Class ValidationErrorInfo
Inheritance
ValidationErrorInfo
Attributes

Constructors

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.

Properties

FileName

Gets or sets the alphanumeric name of the file that generated the error.

Id

Gets or sets a unique identifier for this error.

IsWarning

Gets or sets a value that determines whether the constraint violation is a warning.

Message

Gets or sets an alphanumeric message that provides additional information about the error.

PropertyName

Gets or sets the alphanumeric name of the property that generated the error.

SourceReferenceId

Gets or sets the globally-unique identifier (GUID) of the source reference that generated the error.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to