Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core Inheritance: System.Exception

Syntax

Microsoft.Restier.Core.ChangeSetValidationException

Summary

Represents an exception that indicates validation errors occurred on entities.

Constructors

.ctor

Syntax

public ChangeSetValidationException()

.ctor

Initializes a new instance of the ChangeSetValidationException class.

Syntax

public ChangeSetValidationException(string message)

Parameters

NameTypeDescription
messagestringMessage of the exception.

.ctor

Initializes a new instance of the ChangeSetValidationException class.

Syntax

public ChangeSetValidationException(string message, System.Exception innerException)

Parameters

NameTypeDescription
messagestringMessage of the exception.
innerExceptionSystem.ExceptionInner exception.

Properties

ValidationResults

Gets or sets the failed validation results.

Syntax

public System.Collections.Generic.IEnumerable<Microsoft.Restier.Core.Submit.ChangeSetItemValidationResult> ValidationResults { get; set; }

Property Value

Type: System.Collections.Generic.IEnumerable<Microsoft.Restier.Core.Submit.ChangeSetItemValidationResult>