Note
The change of this property is not observable. When an ObservableObjectBase instance is disposed
all subscribers of the PropertyChanged event are removed.
protected bool IsDisposed { get; }
Protected ReadOnly Property IsDisposed As Boolean
Get
protected:
property bool IsDisposed {
bool get ();
}
member IsDisposed : bool with get
Properties accessed by the Get<T> and Set methods throw an ObjectDisposedException when this property returns (but see also the AllowReadingDisposedObject property).
If the Dispose(Boolean) method is overridden and you need to dispose properties accessed by the Get<T> and Set methods check this property first to prevent the ObjectDisposedException.