ComplexObject.. 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.]
Explicitly implement the ErrorsChanged() event.
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 ComplexObject
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()