Поделиться через


Недопустимые типы и элементы в библиотеке System.Core.dll

Программирование интеграции SQL Server со средой CLR не допускает использования типов и элементов, имеющих атрибут HostProtectionAttribute, который задает перечисление System.Security.Permissions.HostProtectionResource со значением ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization или UI. В следующей таблице перечислены члены и типы сборок библиотеки System.Core.dll, значения атрибутов защиты узла которых запрещены.

ПримечаниеПримечание

Этот список был получен из сборок, поддерживаемых платформой .NET Framework версии 2.0 с пакетом обновления 1 (SP1). Дополнительные сведения см. в разделе Поддерживаемые библиотеки платформы .NET Framework.

Тип или элемент

Значения атрибутов защиты узла

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