Tipe dan Anggota yang Tidak Diizinkan dalam System.dll

Berlaku untuk:yes SQL Server (semua versi yang didukung)

SQL Server pemrograman integrasi bahasa umum (CLR) melarang penggunaan jenis atau anggota yang memiliki HostProtectionAttribute yang menentukan enumerasi System.Security.Permissions.HostProtectionResource dengan nilai ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState , Sinkronisasi, atau UI. Tabel berikut mencantumkan anggota dan jenis rakitan System.dll yang nilai Atribut Perlindungan Host (HPA)-nya tidak diizinkan.

Catatan

Daftar ini dihasilkan dari rakitan yang didukung. Untuk informasi selengkapnya, lihat Pustaka .NET Framework yang didukung.

Tipe atau Anggota Nilai HPA
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
Microsoft.Win32.SafeHandles.SafeTimerHandle MayLeakOnAbort
Microsoft.Win32.SafeHandles.SafeUserTokenHandle MayLeakOnAbort
Microsoft.Win32.SafeNativeMethods MayLeakOnAbort
Microsoft.Win32.SessionEndedEventArgs MayLeakOnAbort
Microsoft.Win32.SessionEndedEventHandler MayLeakOnAbort
Microsoft.Win32.SessionEndingEventArgs MayLeakOnAbort
Microsoft.Win32.SessionEndingEventHandler MayLeakOnAbort
Microsoft.Win32.SessionSwitchEventArgs MayLeakOnAbort
Microsoft.Win32.SessionSwitchEventHandler MayLeakOnAbort
Microsoft.Win32.SystemEvents MayLeakOnAbort
Microsoft.Win32.TimerElapsedEventArgs MayLeakOnAbort
Microsoft.Win32.TimerElapsedEventHandler MayLeakOnAbort
Microsoft.Win32.UnsafeNativeMethods MayLeakOnAbort
Microsoft.Win32.UserPreferenceChangedEventArgs MayLeakOnAbort
Microsoft.Win32.UserPreferenceChangedEventHandler MayLeakOnAbort
Microsoft.Win32.UserPreferenceChangingEventArgs MayLeakOnAbort
Microsoft.Win32.UserPreferenceChangingEventHandler MayLeakOnAbort
System.ComponentModel.AddingNewEventArgs SharedState
System.ComponentModel.AddingNewEventHandler SharedState
System.ComponentModel.ArrayConverter SharedState
System.ComponentModel.ArraySubsetEnumerator SharedState
System.ComponentModel.AsyncCompletedEventArgs SharedState
System.ComponentModel.AsyncCompletedEventHandler SharedState
System.ComponentModel.AsyncOperation SharedState
System.ComponentModel.AsyncOperationManager SharedState
System.ComponentModel.AttributeCollection Sinkronisasi
System.ComponentModel.BackgroundWorker SharedState
System.ComponentModel.BaseNumberConverter SharedState
System.ComponentModel.BindingList SharedState
System.ComponentModel.BooleanConverter SharedState
System.ComponentModel.ByteConverter SharedState
System.ComponentModel.CancelEventArgs SharedState
System.ComponentModel.CancelEventHandler SharedState
System.ComponentModel.CharConverter SharedState
System.ComponentModel.CollectionChangeEventArgs SharedState
System.ComponentModel.CollectionChangeEventHandler SharedState
System.ComponentModel.CollectionConverter SharedState
System.ComponentModel.CompModSwitches SharedState
System.ComponentModel.ComponentCollection Sinkronisasi
System.ComponentModel.ComponentConverter SharedState
System.ComponentModel.ComponentEditor SharedState
System.ComponentModel.ComponentResourceManager SharedState
System.ComponentModel.Container SharedState
System.ComponentModel.ContainerFilterService SharedState
System.ComponentModel.CultureInfoConverter SharedState
System.ComponentModel.CustomTypeDescriptor SharedState
System.ComponentModel.DateTimeConverter SharedState
System.ComponentModel.DecimalConverter SharedState
System.ComponentModel.DelegatingTypeDescriptionProvider SharedState
System.ComponentModel.Design.ActiveDesignerEventArgs SharedState
System.ComponentModel.Design.ActiveDesignerEventHandler SharedState
System.ComponentModel.Design.CheckoutException SharedState
System.ComponentModel.Design.CommandID SharedState
System.ComponentModel.Design.ComponentChangedEventArgs SharedState
System.ComponentModel.Design.ComponentChangedEventHandler SharedState
System.ComponentModel.Design.ComponentChangingEventArgs SharedState
System.ComponentModel.Design.ComponentChangingEventHandler SharedState
System.ComponentModel.Design.ComponentEventArgs SharedState
System.ComponentModel.Design.ComponentEventHandler SharedState
System.ComponentModel.Design.ComponentRenameEventArgs SharedState
System.ComponentModel.Design.ComponentRenameEventHandler SharedState
System.ComponentModel.Design.DesignerCollection SharedState
System.ComponentModel.Design.DesignerEventArgs SharedState
System.ComponentModel.Design.DesignerEventHandler SharedState
System.ComponentModel.Design.DesignerOptionService SharedState
System.ComponentModel.Design.DesignerTransaction SharedState
System.ComponentModel.Design.DesignerTransactionCloseEventArgs SharedState
System.ComponentModel.Design.DesignerTransactionCloseEventHandler SharedState
System.ComponentModel.Design.DesignerVerb SharedState
System.ComponentModel.Design.DesignerVerbCollection SharedState
System.ComponentModel.Design.DesigntimeLicenseContext SharedState
System.ComponentModel.Design.DesigntimeLicenseContextSerializer SharedState
System.ComponentModel.Design.MenuCommand SharedState
System.ComponentModel.Design.RuntimeLicenseContext SharedState
System.ComponentModel.Design.Serialization.ComponentSerializationService SharedState
System.ComponentModel.Design.Serialization.ContextStack SharedState
System.ComponentModel.Design.Serialization.DesignerLoader SharedState
System.ComponentModel.Design.Serialization.InstanceDescriptor SharedState
System.ComponentModel.Design.Serialization.MemberRelationshipService SharedState
System.ComponentModel.Design.Serialization.ResolveNameEventArgs SharedState
System.ComponentModel.Design.Serialization.ResolveNameEventHandler SharedState
System.ComponentModel.Design.Serialization.SerializationStore SharedState
System.ComponentModel.Design.ServiceContainer SharedState
System.ComponentModel.Design.ServiceCreatorCallback SharedState
System.ComponentModel.Design.StandardCommands SharedState
System.ComponentModel.Design.StandardToolWindows SharedState
System.ComponentModel.DoubleConverter SharedState
System.ComponentModel.DoWorkEventArgs SharedState
System.ComponentModel.DoWorkEventHandler SharedState
System.ComponentModel.EnumConverter SharedState
System.ComponentModel.EventDescriptor SharedState
System.ComponentModel.EventDescriptorCollection Sinkronisasi
System.ComponentModel.EventHandlerList SharedState
System.ComponentModel.ExpandableObjectConverter SharedState
System.ComponentModel.ExtendedPropertyDescriptor SharedState
System.ComponentModel.GuidConverter SharedState
System.ComponentModel.HandledEventArgs SharedState
System.ComponentModel.HandledEventHandler SharedState
System.ComponentModel.InstanceCreationEditor SharedState
System.ComponentModel.Int16Converter SharedState
System.ComponentModel.Int32Converter SharedState
System.ComponentModel.Int64Converter SharedState
System.ComponentModel.IntSecurity SharedState
System.ComponentModel.InvalidAsynchronousStateException SharedState
System.ComponentModel.InvalidEnumArgumentException SharedState
System.ComponentModel.ISynchronizeInvoke.BeginInvoke() ExternalThreading, Sinkronisasi
System.ComponentModel.License SharedState
System.ComponentModel.LicenseContext SharedState
System.ComponentModel.LicenseException SharedState
System.ComponentModel.LicenseManager ExternalProcessMgmt
System.ComponentModel.LicenseProvider SharedState
System.ComponentModel.LicFileLicenseProvider SharedState
System.ComponentModel.ListChangedEventArgs SharedState
System.ComponentModel.ListChangedEventHandler SharedState
System.ComponentModel.ListSortDescription SharedState
System.ComponentModel.ListSortDescriptionCollection SharedState
System.ComponentModel.MaskedTextProvider SharedState
System.ComponentModel.MemberDescriptor SharedState
System.ComponentModel.MultilineStringConverter SharedState
System.ComponentModel.NestedContainer SharedState
System.ComponentModel.NullableConverter SharedState
System.ComponentModel.ProgressChangedEventArgs SharedState
System.ComponentModel.ProgressChangedEventHandler SharedState
System.ComponentModel.PropertyChangedEventArgs SharedState
System.ComponentModel.PropertyChangedEventHandler SharedState
System.ComponentModel.PropertyDescriptor SharedState
System.ComponentModel.PropertyDescriptorCollection Sinkronisasi
System.ComponentModel.ReferenceConverter SharedState
System.ComponentModel.ReflectEventDescriptor SharedState
System.ComponentModel.ReflectPropertyDescriptor SharedState
System.ComponentModel.ReflectTypeDescriptionProvider SharedState
System.ComponentModel.RefreshEventArgs SharedState
System.ComponentModel.RefreshEventHandler SharedState
System.ComponentModel.RunWorkerCompletedEventArgs SharedState
System.ComponentModel.RunWorkerCompletedEventHandler SharedState
System.ComponentModel.SByteConverter SharedState
System.ComponentModel.SingleConverter SharedState
System.ComponentModel.StringConverter SharedState
System.ComponentModel.SyntaxCheck SharedState
System.ComponentModel.TimeSpanConverter SharedState
System.ComponentModel.TypeConverter SharedState
System.ComponentModel.TypeDescriptionProvider SharedState
System.ComponentModel.TypeDescriptor SharedState
System.ComponentModel.TypeListConverter SharedState
System.ComponentModel.UInt16Converter SharedState
System.ComponentModel.UInt32Converter SharedState
System.ComponentModel.UInt64Converter SharedState
System.ComponentModel.WarningException SharedState
System.ComponentModel.WeakHashtable SharedState
System.ComponentModel.Win32Exception SharedState
System.Diagnostics.ConsoleTraceListener Sinkronisasi
System.Diagnostics.Debug.get_Listeners() SharedState
System.Diagnostics.DefaultTraceListener Sinkronisasi
System.Diagnostics.DelimitedListTraceListener Sinkronisasi
System.Diagnostics.EventLog.get_SynchronizingObject() Sinkronisasi
System.Diagnostics.EventLogTraceListener Sinkronisasi
System.Diagnostics.PerformanceCounter SharedState, Sinkronisasi
System.Diagnostics.PerformanceCounterCategory SharedState, Sinkronisasi
System.Diagnostics.Process SelfAffectingProcessMgmt, ExternalProcessMgmt, SharedState, Synchronization
System.Diagnostics.ProcessStartInfo SelfAffectingProcessMgmt, SharedState
System.Diagnostics.ProcessThread SelfAffectingThreading, SelfAffectingProcessMgmt
System.Diagnostics.SharedPerformanceCounter SharedState, Sinkronisasi
System.Diagnostics.TextWriterTraceListener Sinkronisasi
System.Diagnostics.Trace.get_Listeners() SharedState
System.Diagnostics.TraceListener Sinkronisasi
System.Diagnostics.XmlWriterTraceListener Sinkronisasi
System.Io.Compression.DeflateStream.BeginRead() ExternalThreading
System.Io.Compression.DeflateStream.BeginWrite() ExternalThreading
System.IO.Compression.GZipStream.BeginRead() ExternalThreading
System.IO.Compression.GZipStream.BeginWrite() ExternalThreading
System.IO.Ports.SerialStream.BeginRead() ExternalThreading
System.IO.Ports.SerialStream.BeginWrite() ExternalThreading
System.Media.SoundPlayer UI
System.Media.SystemSound UI
System.Media.SystemSounds UI
System.Net.ConnectStream.BeginRead() ExternalThreading
System.Net.ConnectStream.BeginWrite() ExternalThreading
System.Net.Dns.BeginGetHostAddresses() ExternalThreading
System.Net.Dns.BeginGetHostByName() ExternalThreading
System.Net.Dns.BeginGetHostEntry() ExternalThreading
System.Net.Dns.BeginResolve() ExternalThreading
System.Net.FileWebRequest.BeginGetRequestStream() ExternalThreading
System.Net.FileWebRequest.BeginGetResponse() ExternalThreading
System.Net.FtpDataStream.BeginRead() ExternalThreading
System.Net.FtpDataStream.BeginWrite() ExternalThreading
System.Net.FtpWebRequest.BeginGetRequestStream() ExternalThreading
System.Net.FtpWebRequest.BeginGetResponse() ExternalThreading
System.Net.HttpListener.BeginGetContext() ExternalThreading
System.Net.HttpRequestStream.BeginRead() ExternalThreading
System.Net.HttpRequestStream.BeginWrite() ExternalThreading
System.Net.HttpResponseStream.BeginRead() ExternalThreading
System.Net.HttpResponseStream.BeginWrite() ExternalThreading
System.Net.HttpWebRequest.BeginGetRequestStream() ExternalThreading
System.Net.HttpWebRequest.BeginGetResponse() ExternalThreading
System.Net.Mail.SmtpClient.SendAsync() ExternalThreading
System.Net.NetworkInformation.Ping.SendAsync() ExternalThreading
System.Net.PooledStream.BeginRead() ExternalThreading
System.Net.PooledStream.BeginWrite() ExternalThreading
System.Net.Security.NegotiateStream.BeginAuthenticateAsClient() ExternalThreading
System.Net.Security.NegotiateStream.BeginAuthenticateAsServer() ExternalThreading
System.Net.Security.NegotiateStream.BeginRead() ExternalThreading
System.Net.Security.NegotiateStream.BeginWrite() ExternalThreading
System.Net.Security.SslStream.BeginAuthenticateAsClient() ExternalThreading
System.Net.Security.SslStream.BeginAuthenticateAsServer() ExternalThreading
System.Net.Security.SslStream.BeginRead() ExternalThreading
System.Net.Security.SslStream.BeginWrite() ExternalThreading
System.Net.Sockets.NetworkStream.BeginRead() ExternalThreading
System.Net.Sockets.NetworkStream.BeginWrite() ExternalThreading
System.Net.Sockets.Socket.BeginAccept() ExternalThreading
System.Net.Sockets.Socket.BeginConnect() ExternalThreading
System.Net.Sockets.Socket.BeginDisconnect() ExternalThreading
System.Net.Sockets.Socket.BeginReceive() ExternalThreading
System.Net.Sockets.Socket.BeginReceiveFrom() ExternalThreading
System.Net.Sockets.Socket.BeginSend() ExternalThreading
System.Net.Sockets.Socket.BeginSendFile() ExternalThreading
System.Net.Sockets.Socket.BeginSendTo() ExternalThreading
System.Net.Sockets.TcpClient.BeginConnect() ExternalThreading
System.Net.Sockets.TcpListener.BeginAcceptSocket() ExternalThreading
System.Net.Sockets.TcpListener.BeginAcceptTcpClient() ExternalThreading
System.Net.Sockets.UdpClient.BeginReceive() ExternalThreading
System.Net.Sockets.UdpClient.BeginSend() ExternalThreading
System.Net.SpnDictionary.get_SyncRoot() Sinkronisasi
System.Net.WebClient.DownloadDataAsync() ExternalThreading
System.Net.WebClient.DownloadFileAsync() ExternalThreading
System.Net.WebClient.DownloadStringAsync() ExternalThreading
System.Net.WebClient.OpenReadAsync() ExternalThreading
System.Net.WebClient.OpenWriteAsync() ExternalThreading
System.Net.WebClient.UploadDataAsync() ExternalThreading
System.Net.WebClient.UploadFileAsync() ExternalThreading
System.Net.WebClient.UploadStringAsync() ExternalThreading
System.Net.WebClient.UploadValuesAsync() ExternalThreading
System.Net.WebRequest.BeginGetRequestStream() ExternalThreading
System.Net.WebRequest.BeginGetResponse() Sinkronisasi
System.Text.RegularExpressions.Group.Synchronized() Sinkronisasi
System.Text.RegularExpressions.Match.Synchronized() Sinkronisasi
System.Text.RegularExpressions.Regex.CompileToAssembly() MayLeakOnAbort
System.Threading.Semaphore ExternalThreading, Sinkronisasi
System.Timers.Timer ExternalThreading, Sinkronisasi
WebClientWriteStream.BeginRead() ExternalThreading
WebClientWriteStream.BeginWrite() ExternalThreading

Lihat juga

Atribut Perlindungan Host dan Pemrograman Integrasi CLR
Tipe dan Anggota yang Tidak Diizinkan di Microsoft.VisualBasic.dll
Tipe dan Anggota yang Tidak Diizinkan di mscorlib.dll
Tipe dan Anggota yang Tidak Diizinkan di System.Data.dll
Tipe dan Anggota yang Tidak Diizinkan di System.Core.dll