CheckReentrancy Method

ObservableCollection<T>::CheckReentrancy Method ()


Checks for reentrant attempts to change this collection.

Namespace:   System.Collections.ObjectModel
Assembly:  System (in System.dll)

void CheckReentrancy()

Exception Condition

If there was a call to BlockReentrancy of which the IDisposable return value has not yet been disposed of. Typically, this means when there are additional attempts to change this collection during a CollectionChanged event. However, it depends on when derived classes choose to call BlockReentrancy.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft