Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Submit Inheritance: System.ObjectSyntax
Summary
Represents a single result when validating an entity, property, etc.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
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
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
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
objectSyntax
Returns
Type:string?