Entity.. Event
[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.]
Occurs when the validation errors have changed for a property or for the entire entity.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Private Event ErrorsChanged As EventHandler(Of DataErrorsChangedEventArgs)
Implements INotifyDataErrorInfo.ErrorsChanged
'Usage
Dim instance As Entity
Dim handler As EventHandler(Of DataErrorsChangedEventArgs)
AddHandler CType(instance, INotifyDataErrorInfo).ErrorsChanged, handler
event EventHandler<DataErrorsChangedEventArgs> INotifyDataErrorInfo.ErrorsChanged
private:
virtual event EventHandler<DataErrorsChangedEventArgs^>^ ErrorsChanged {
void add (EventHandler<DataErrorsChangedEventArgs^>^ value);
void remove (EventHandler<DataErrorsChangedEventArgs^>^ value);
}
private abstract ErrorsChanged : IEvent<EventHandler<DataErrorsChangedEventArgs>,
DataErrorsChangedEventArgs>
private override ErrorsChanged : IEvent<EventHandler<DataErrorsChangedEventArgs>,
DataErrorsChangedEventArgs>
JScript supports the use of events, but not the declaration of new ones.
Implements
INotifyDataErrorInfoErrorsChanged()
Remarks
This member is an explicit interface member implementation. It can be used only when the Entity instance is cast to an INotifyDataErrorInfo interface.