Compartilhar via


PackageAutoLoadFlags Enum

Definition

Specifies types of autoload behavior.

This enumeration supports a bitwise combination of its member values.

public enum class PackageAutoLoadFlags
public enum class PackageAutoLoadFlags
enum PackageAutoLoadFlags
[System.Flags]
public enum PackageAutoLoadFlags
[<System.Flags>]
type PackageAutoLoadFlags = 
Public Enum PackageAutoLoadFlags
Inheritance
PackageAutoLoadFlags
Attributes

Fields

Name Value Description
None 0

Indicates no special auto-load behavior. This is the default flag value if not specified.

SkipWhenUIContextRulesActive 1

When set package will not auto load in newer Visual Studio versions with rule based UI contexts

BackgroundLoad 2

When set, the associated package will be loaded asynchronously on a background thread when the associated UI context is triggered. The associated package must inherit from AsyncPackage and be registered to support background load (see PackageRegistrationAttribute), otherwise this value is ignored.

Applies to