INotifyObjectDisposed.IsDisposed Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether the an object is disposed.
public:
property bool IsDisposed { bool get(); };
public bool IsDisposed { get; }
member this.IsDisposed : bool
Public ReadOnly Property IsDisposed As Boolean
Property Value
True
if the object is disposed; false
otherwise.
Remarks
It is safe to check this property even after object is disposed. If a class implements INotifyPropertyChanged, then the PropertyChanged
event will be raised for this property when the object becomes disposed.