Disallowed Types and Members in System.Core.dll
SQL Server common language integration (CLR) programming disallows the use of a type or member that has a HostProtectionAttribute that specifies a System.Security.Permissions.HostProtectionResource enumeration with a value of ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization, or UI. The following table lists the members and types of the System.Core.dll assemblies whose Host Protection Attribute (HPA) values are disallowed.
Note
This list was generated from the supported assemblies of version 2.0 SP1 of the .NET Framework. For more information, see Supported .NET Framework Libraries.
Type or Member |
HPA Value(s) |
---|---|
System.Diagnostics.Eventing.EventDescriptor |
MayLeakOnAbort |
System.Diagnostics.Eventing.EventProvider |
MayLeakOnAbort |
System.Diagnostics.Eventing.EventProviderTraceListener |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementEntityAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.WmiConfigurationAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementMemberAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementNewInstanceAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementBindAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementCreateAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementRemoveAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementEnumeratorAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementProbeAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementTaskAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementKeyAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementReferenceAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementConfigurationAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementCommitAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.ManagementNameAttribute |
MayLeakOnAbort |
System.Management.Instrumentation.InstrumentationBaseException |
MayLeakOnAbort |
System.Management.Instrumentation.InstrumentationException |
MayLeakOnAbort |
System.Management.Instrumentation.InstanceNotFoundException |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventBookmark |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogConfiguration |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogLink |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogStatus |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventProperty |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogPropertySelector |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventRecord |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventKeyword |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLevel |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogRecord |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogReader |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogWatcher |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventRecordWrittenEventArgs |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogSession |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventMetadata |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventOpcode |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventTask |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogException |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogNotFoundException |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogReadingException |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogInvalidDataException |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.EventLogInformation |
MayLeakOnAbort |
System.Diagnostics.Eventing.Reader.ProviderMetadata |
MayLeakOnAbort |
Microsoft.Win32.SafeHandles.SafeNCryptHandle |
MayLeakOnAbort |
Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle |
MayLeakOnAbort |
Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle |
MayLeakOnAbort |
Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle |
MayLeakOnAbort |
System.Security.Cryptography.Aes |
MayLeakOnAbort |
System.Security.Cryptography.AesCryptoServiceProvider |
MayLeakOnAbort |
System.Security.Cryptography.AesManaged |
MayLeakOnAbort |
System.Security.Cryptography.CngAlgorithm |
MayLeakOnAbort |
System.Security.Cryptography.CngAlgorithmGroup |
MayLeakOnAbort |
System.Security.Cryptography.CngKey |
MayLeakOnAbort |
System.Security.Cryptography.CngKeyBlobFormat |
MayLeakOnAbort |
System.Security.Cryptography.CngKeyCreationParameters |
MayLeakOnAbort |
System.Security.Cryptography.CngProperty |
MayLeakOnAbort |
System.Security.Cryptography.CngPropertyCollection |
MayLeakOnAbort |
System.Security.Cryptography.CngProvider |
MayLeakOnAbort |
System.Security.Cryptography.CngUIPolicy |
MayLeakOnAbort |
System.Security.Cryptography.ECDiffieHellman |
MayLeakOnAbort |
System.Security.Cryptography.ECDiffieHellmanPublicKey |
MayLeakOnAbort |
System.Security.Cryptography.ECDiffieHellmanCng |
MayLeakOnAbort |
System.Security.Cryptography.ECDiffieHellmanCngPublicKey |
MayLeakOnAbort |
System.Security.Cryptography.ECDsa |
MayLeakOnAbort |
System.Security.Cryptography.ECDsaCng |
MayLeakOnAbort |
System.Security.Cryptography.ManifestSignatureInformation |
MayLeakOnAbort |
System.Security.Cryptography.ManifestSignatureInformationCollection |
MayLeakOnAbort |
System.Security.Cryptography.MD5Cng |
MayLeakOnAbort |
System.Security.Cryptography.SHA1Cng |
MayLeakOnAbort |
System.Security.Cryptography.SHA256Cng |
MayLeakOnAbort |
System.Security.Cryptography.SHA256CryptoServiceProvider |
MayLeakOnAbort |
System.Security.Cryptography.SHA384Cng |
MayLeakOnAbort |
System.Security.Cryptography.SHA384CryptoServiceProvider |
MayLeakOnAbort |
System.Security.Cryptography.SHA512Cng |
MayLeakOnAbort |
System.Security.Cryptography.SHA512CryptoServiceProvider |
MayLeakOnAbort |
System.Security.Cryptography.StrongNameSignatureInformation |
MayLeakOnAbort |
System.Security.Cryptography.X509Certificates.AuthenticodeSignatureInformation |
MayLeakOnAbort |
System.Security.Cryptography.X509Certificates.TimestampInformation |
MayLeakOnAbort |
Microsoft.Win32.SafeHandles.SafePipeHandle |
MayLeakOnAbort |
System.TimeZoneInfo |
MayLeakOnAbort |
System.TimeZoneNotFoundException |
MayLeakOnAbort |
System.InvalidTimeZoneException |
MayLeakOnAbort |
System.Diagnostics.EventSchemaTraceListener |
MayLeakOnAbort |
System.Diagnostics.UnescapedXmlDiagnosticData |
MayLeakOnAbort |
System.Diagnostics.PerformanceData.CounterData |
MayLeakOnAbort |
System.Diagnostics.PerformanceData.CounterSetInstanceCounterDataSet |
MayLeakOnAbort |
System.Diagnostics.PerformanceData.CounterSet |
MayLeakOnAbort |
System.Diagnostics.PerformanceData.CounterSetInstance |
MayLeakOnAbort |
System.Collections.Generic.HashSet`1 |
MayLeakOnAbort |
System.IO.Pipes.PipeStream |
MayLeakOnAbort |
System.IO.Pipes.AnonymousPipeServerStream |
MayLeakOnAbort |
System.IO.Pipes.AnonymousPipeClientStream |
MayLeakOnAbort |
System.IO.Pipes.NamedPipeServerStream |
MayLeakOnAbort |
System.IO.Pipes.NamedPipeClientStream |
MayLeakOnAbort |
System.IO.Pipes.PipeAccessRule |
MayLeakOnAbort |
System.IO.Pipes.PipeAuditRule |
MayLeakOnAbort |
System.IO.Pipes.PipeSecurity |
MayLeakOnAbort |
System.Threading.LockRecursionException |
MayLeakOnAbort |
System.Threading.ReaderWriterLockSlim |
MayLeakOnAbort |