共用方式為


Package.Zombied Property

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property Zombied As Boolean
public bool Zombied { get; }
public:
property bool Zombied {
    bool get ();
}
member Zombied : bool with get
function get Zombied () : boolean

Property Value

Type: 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

Microsoft.VisualStudio.Shell Namespace