OnBeginChangeLogging Method

ListCollectionView.OnBeginChangeLogging Method (NotifyCollectionChangedEventArgs)

 
Note: This API is now obsolete.

Called by the base class to notify the derived class that a CollectionChanged event has been posted to the message queue.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

[ObsoleteAttribute("Replaced by OnAllowsCrossThreadChangesChanged")]
protected override void OnBeginChangeLogging(
	NotifyCollectionChangedEventArgs args
)

Parameters

args
Type: System.Collections.Specialized.NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs object that is added to the change log.

Exception Condition
ArgumentNullException

If args is null.

The purpose of this notification is to allow collection views to take a snapshot of the information, which is often the state of the data collection, that is needed at the time of the post.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft