ISupportDisposalNotification Interface
Represents an object that may become disposed, and that can notify listeners of changes to the disposal state.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
‘선언
Public Interface ISupportDisposalNotification _
Inherits INotifyPropertyChanged
public interface ISupportDisposalNotification : INotifyPropertyChanged
The ISupportDisposalNotification type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsDisposed | Determines if the item is disposed. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top
Remarks
Objects that hold references to an instance of this interface should watch for property changes on the IsDisposed property, and should release their reference when the property's value becomes true.