แก้ไข

แชร์ผ่าน


HOST_TYPE Enumeration

Contains values that specify the type of host that is launching an application.

Syntax

typedef enum {  
    HOST_TYPE_DEFAULT     = 0x0,  
    HOST_TYPE_APPLAUNCH   = 0x1,  
    HOST_TYPE_CORFLAG     = 0x2  
} HOST_TYPE;  

Members

Member Description
HOST_TYPE_APPLAUNCH Launch the application from AppLaunch.exe.

Use this value for partially-trusted applications.
HOST_TYPE_CORFLAG Launch the application directly. That is, launch the application from its own .exe file.

Use this value for fully-trusted applications.
HOST_TYPE_DEFAULT Same as HOST_TYPE_APPLAUNCH.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also