ISupportDisposalNotification, interface

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

Espace de noms :  Microsoft.VisualStudio.Shell
Assembly :  Microsoft.VisualStudio.Shell.Immutable.11.0 (dans Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntaxe

'Déclaration
Public Interface ISupportDisposalNotification _
    Inherits INotifyPropertyChanged
public interface ISupportDisposalNotification : INotifyPropertyChanged

Le type ISupportDisposalNotification expose les membres suivants.

Propriétés

  Nom Description
Propriété publique IsDisposed Determines if the item is disposed.

Début

Événements

  Nom Description
Événement public PropertyChanged Se produit lorsqu'une valeur de propriété est modifiée. (Hérité de INotifyPropertyChanged.)

Début

Remarques

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.

Voir aussi

Référence

Microsoft.VisualStudio.Shell, espace de noms