Udostępnij za pośrednictwem


Interfejs ISupportDisposalNotification

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

Przestrzeń nazw:  Microsoft.VisualStudio.Shell
Zestaw:  Microsoft.VisualStudio.Shell.Immutable.11.0 (w Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Składnia

'Deklaracja
Public Interface ISupportDisposalNotification _
    Inherits INotifyPropertyChanged
public interface ISupportDisposalNotification : INotifyPropertyChanged

Typ ISupportDisposalNotification uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna IsDisposed Determines if the item is disposed.

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie publiczne PropertyChanged Występuje, gdy wartość właściwości zostanie zmieniona. (Odziedziczone z INotifyPropertyChanged).

Początek

Uwagi

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.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.Shell