Entity.. Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets a value that indicates whether the entity has validation errors.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Private ReadOnly Property HasErrors As Boolean
    Implements INotifyDataErrorInfo.HasErrors
    Get
'Usage
Dim instance As Entity
Dim value As Boolean

value = CType(instance, INotifyDataErrorInfo).HasErrors
bool INotifyDataErrorInfo.HasErrors { get; }
private:
virtual property bool HasErrors {
    bool get () sealed = INotifyDataErrorInfo::HasErrors::get;
}
private abstract HasErrors : bool
private override HasErrors : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Boolean
true if the entity currently has validation errors; otherwise, false.

Implements

INotifyDataErrorInfoHasErrors()

Remarks

This member is an explicit interface member implementation. It can be used only when the Entity instance is cast to an INotifyDataErrorInfo interface.

See Also

Reference

Entity Class

System.ServiceModel.DomainServices.Client Namespace