METAHOST_CONFIG_FLAGS Enumeration

Describes the possible flags returned in the pdwConfigFlags parameter of the ICLRMetaHostPolicy::GetRequestedRuntime method, indicating the presence and setting of the useLegacyV2RuntimeActivationPolicy attribute in the <startup> element of the configuration file.

typedef enum {
    METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_UNSET  = 0x00,
    METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_TRUE   = 0x01,
    METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_FALSE  = 0x02,
    METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_MASK   = 0x03
} METAHOST_CONFIG_FLAGS;

Members

Member

Description

METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_UNSET

The useLegacyV2RuntimeActivationPolicy attribute was not present in the <startup> Element.

METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_TRUE

The useLegacyV2RuntimeActivationPolicy attribute was present and set to true.

METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_FALSE

The useLegacyV2RuntimeActivationPolicy attribute was present and set to false.

METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_MASK

Apply this mask to the value returned in pdwConfigFlags to get the values relevant to useLegacyV2RuntimeActivationPolicy.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Metahost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4 

See Also

Reference

ICLRMetaHostPolicy::GetRequestedRuntime Method

<startup> Element

Other Resources

Hosting Enumerations