ISupportDisposalNotification 接口

Represents an object that may become disposed, and that can notify listeners of changes to the disposal state.

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.Immutable.11.0(在 Microsoft.VisualStudio.Shell.Immutable.11.0.dll 中)

语法

声明
Public Interface ISupportDisposalNotification _
    Inherits INotifyPropertyChanged
public interface ISupportDisposalNotification : INotifyPropertyChanged

ISupportDisposalNotification 类型公开以下成员。

属性

  名称 说明
公共属性 IsDisposed Determines if the item is disposed.

页首

事件

  名称 说明
公共事件 PropertyChanged 在更改属性值时发生。 (继承自 INotifyPropertyChanged。)

页首

备注

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.

请参见

参考

Microsoft.VisualStudio.Shell 命名空间