System.Core.dll 中禁用的类型和成员

如果类型或成员具有 HostProtectionAttribute 属性,而该属性指定了值为 ExternalProcessMgmt、ExternalThreading、MayLeakOnAbort、SecurityInfrastructure、SelfAffectingProcessMgmnt、SelfAffectingThreading、 SharedState、Synchronization 或 UI 的 System.Security.Permissions.HostProtectionResource 枚举,则 SQL Server 公共语言集成 (CLR) 编程不允许使用这样的类型或成员。下表列出了宿主保护属性 (HPA) 值被禁用的 System.Core.dll 程序集的成员和类型。

注意注意

此列表是通过 .NET Framework 2.0 SP1 版本所支持的程序集生成的。有关详细信息,请参阅 支持的 .NET Framework 库

类型或成员

HPA 值

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