Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Submit Inheritance: System.Object

Syntax

Summary

Represents a single result when validating an entity, property, etc.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Message

Gets or sets the message to be displayed to the end user for this validation result.

Syntax

Property Value

Type: string

PropertyName

Gets or sets the name of the property to which the validation result applies. If null, the validation result applies to the whole Target.

Syntax

Property Value

Type: string

Severity

Gets or sets the severity of this validation result.

Syntax

Property Value

Type: System.Diagnostics.Tracing.EventLevel

Target

Gets or sets the item to which the validation result applies.

Syntax

Property Value

Type: object

ValidatorType

Gets or sets the identifier for this validation result.

Syntax

Property Value

Type: string

Remarks

Id allows programmatic matching of validation results between tiers.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Override

Returns the string that represents this validation result.

Syntax

Returns

Type: string The string that represents this validation result.

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?