共用方式為


RegisteredTrustLevel enumeration

Represents the registered trust level of an activatable class.

Syntax

typedef enum _RegisteredTrustLevel { 
  BaseTrust     = 0,
  PartialTrust  = 1,
  FullTrust     = 2
} RegisteredTrustLevel;

Constants

  • BaseTrust
    The component has access to resources that are not protected.

  • PartialTrust
    The component has access to resources requested in the app manifest and approved by the user.

  • FullTrust
    The component requires the full privileges of the user.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Activationregistration.h

See also

IActivatableClassRegistration

RoGetActivatableClassRegistration

TrustLevel