ErrorsChangedEventManager Class
Provides a WeakEventManager implementation so that you can use the weak event listener pattern to attach listeners for the ErrorsChanged event.
Assembly: WindowsBase (in WindowsBase.dll)
System.Windows.Threading::DispatcherObject
System.Windows::WeakEventManager
System.ComponentModel::ErrorsChangedEventManager
| Name | Description | |
|---|---|---|
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | Item[Object^] | Gets or sets the data being stored for the specified source.(Inherited from WeakEventManager.) |
![]() | ReadLock | Establishes a read-lock on the underlying data table, and returns an IDisposable.(Inherited from WeakEventManager.) |
![]() | WriteLock | Establishes a write-lock on the underlying data table, and returns anIDisposable.(Inherited from WeakEventManager.) |
| Name | Description | |
|---|---|---|
![]() ![]() | AddHandler(INotifyDataErrorInfo^, EventHandler<DataErrorsChangedEventArgs^>^) | Adds the specified event handler, which is called when specified source raises the ErrorsChanged event. |
![]() | CheckAccess() | Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
![]() | DeliverEvent(Object^, EventArgs^) | Delivers the event being managed to each listener.(Inherited from WeakEventManager.) |
![]() | DeliverEventToList(Object^, EventArgs^, WeakEventManager::ListenerList^) | Delivers the event being managed to each listener in the provided list.(Inherited from WeakEventManager.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | NewListenerList() | Returns a new object to contain listeners to the ErrorsChanged event.(Overrides WeakEventManager::NewListenerList().) |
![]() | ProtectedAddHandler(Object^, Delegate^) | Adds the specified delegate as an event handler of the specified source.(Inherited from WeakEventManager.) |
![]() | ProtectedAddListener(Object^, IWeakEventListener^) | Adds the provided listener to the provided source for the event being managed.(Inherited from WeakEventManager.) |
![]() | ProtectedRemoveHandler(Object^, Delegate^) | Removes the previously added handler from the specified source.(Inherited from WeakEventManager.) |
![]() | ProtectedRemoveListener(Object^, IWeakEventListener^) | Removes a previously added listener from the provided source.(Inherited from WeakEventManager.) |
![]() | Purge(Object^, Object^, Boolean) | Removes inactive listener entries from the data list for the provided source. Returns true if some entries were actually removed from the list.(Inherited from WeakEventManager.) |
![]() | Remove(Object^) | Removes all listeners for the specified source.(Inherited from WeakEventManager.) |
![]() ![]() | RemoveHandler(INotifyDataErrorInfo^, EventHandler<DataErrorsChangedEventArgs^>^) | Removes the specified event handler from the specified source. |
![]() | ScheduleCleanup() | Requests that a purge of unused entries in the underlying listener list be performed on a lower priority thread.(Inherited from WeakEventManager.) |
![]() | StartListening(Object^) | Begins listening for the ErrorsChanged event on the specified source.(Overrides WeakEventManager::StartListening(Object^).) |
![]() | StopListening(Object^) | Stops listening for the ErrorsChanged event on the specified source.(Overrides WeakEventManager::StopListening(Object^).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | VerifyAccess() | Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




