Partager via


Package.Zombied Property

Gets a value indicating whether the package in the process of shutdown.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public ReadOnly Property Zombied As Boolean
    Get
'Utilisation
Dim instance As Package
Dim value As Boolean

value = instance.Zombied
public bool Zombied { get; }
public:
property bool Zombied {
    bool get ();
}
member Zombied : bool
function get Zombied () : boolean

Property Value

Type: System.Boolean
true if the package is in the process of shutdown, otherwise false.

Remarks

The Zombied property indicates that the package is being shut down. It returns true when the package’s Close method is called by Visual Studio.

It is usually not appropriate to initiate any new activity when the VSPackage is being closed.

.NET Framework Security

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace