ValidationError Class

Definition

An error that is recorded during business rule validation.

public ref class ValidationError : Microsoft::MasterDataServices::Services::DataContracts::DataContractBase
[System.Runtime.Serialization.DataContract(Name="ValidationError", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class ValidationError : Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
[<System.Runtime.Serialization.DataContract(Name="ValidationError", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type ValidationError = class
    inherit DataContractBase
Public Class ValidationError
Inherits DataContractBase
Inheritance
ValidationError
Attributes

Remarks

The ValidationError complex type represents an error that is recorded during business rule validation.

Constructors

ValidationError()

Default constructor

Properties

EntityId

Specify the entity that the error belongs to.

ErrorMessage

Specify Error message

Methods

SetProperty<T>(T, T, String)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String, Boolean)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to