Disallowed Types & Members in System.dll

common language integration (CLR) programming disallows the use of a type or

member that has a

that specifies a

enumeration with a value of

,

,

,

,

,

,

,

, or. The

following table lists the members and types of the System.dll assembly whose Host Protection

Attribute (HPA) values are disallowed.

Note

This list was generated from the supported assemblies. For more information, see.

Expand table

HostProtectionAttribute
System.Security.Permissions.HostProtectionResource
ExternalProcessMgmt
ExternalThreading
MayLeakOnAbort
SecurityInfrastructure
SelfAffectingProcessMgmt
SelfAffectingThreading
SharedState
Synchronization
UI
Microsoft.Win32.NativeMethods
MayLeakOnAbort
Microsoft.Win32.PowerModeChangedEventArgs
MayLeakOnAbort
Microsoft.Win32.PowerModeChangedEventHandler
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeEventHandle
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeEventLogReadHandle
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeFileMappingHandle
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeFileMapViewHandle
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeLibraryHandle
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeLocalMemHandle
MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeProcessHandle
MayLeakOnAbort