METAHOST_CONFIG_FLAGS Enumeration

.NET Framework (current version)
 

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;  

MemberDescription
METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_UNSETThe useLegacyV2RuntimeActivationPolicy attribute was not present in the <startup> Element.
METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_TRUEThe useLegacyV2RuntimeActivationPolicy attribute was present and set to true.
METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_FALSEThe useLegacyV2RuntimeActivationPolicy attribute was present and set to false.
METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_MASKApply this mask to the value returned in pdwConfigFlags to get the values relevant to useLegacyV2RuntimeActivationPolicy.

Platforms: See System Requirements.

Header: Metahost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4

Hosting Enumerations
GetRequestedRuntime Method
<startup> Element

Show: