Thrown when the internal state of an object has changed, thereby invalidating the results of the method.
public ref class ChangedStateException : COMException, IException, IPrintable, IEquatable
One example where this exception is thrown is when methods of a collection iterator or a collection view are called after the parent collection has changed, invalidating the results of the method.
For more information, see the COMException class.
Minimum supported client: Windows 8
Minimum supported server: Windows Server 2012