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.

Syntax

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.

Remarks

Requirements

Platforms: See System Requirements.

Header: Metahost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4

See also