次の方法で共有


Package.Zombied Property

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

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

Syntax

'宣言
Public ReadOnly Property Zombied As Boolean
public bool Zombied { get; }

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

Microsoft.VisualStudio.Shell Namespace