Tipos e membros não permitidos em System.dll
Aplica-se a: SQL Server
A programação CLR (integração de linguagem comum) do SQL Server não permite o uso de um tipo ou membro que tenha um HostProtectionAttribute que especifica uma enumeração System.Security.Permissions.HostProtectionResource com um valor de ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Sincronização ou interface do usuário. A tabela a seguir lista os membros e os tipos do assembly System.dll cujos valores de HPA (Host Protection Attribute) não são permitidos.
Observação
Esta lista foi gerada dos assembly com suporte. Para obter mais informações, consulte Bibliotecas do .NET Framework com suporte.
Tipo ou membro | Valor(es) de 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 | Sincronização |
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 | Sincronização |
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 | Sincronização |
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, Synchronization |
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 | Sincronização |
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 | Sincronização |
System.Diagnostics.Debug.get_Listeners() | SharedState |
System.Diagnostics.DefaultTraceListener | Sincronização |
System.Diagnostics.DelimitedListTraceListener | Sincronização |
System.Diagnostics.EventLog.get_SynchronizingObject() | Sincronização |
System.Diagnostics.EventLogTraceListener | Sincronização |
System.Diagnostics.PerformanceCounter | SharedState, Sincronização |
System.Diagnostics.PerformanceCounterCategory | SharedState, Sincronização |
System.Diagnostics.Process | SelfAffectingProcessMgmt, ExternalProcessMgmt, SharedState, Synchronization |
System.Diagnostics.ProcessStartInfo | SelfAffectingProcessMgmt, SharedState |
System.Diagnostics.ProcessThread | SelfAffectingThreading, SelfAffectingProcessMgmt |
System.Diagnostics.SharedPerformanceCounter | SharedState, Sincronização |
System.Diagnostics.TextWriterTraceListener | Sincronização |
System.Diagnostics.Trace.get_Listeners() | SharedState |
System.Diagnostics.TraceListener | Sincronização |
System.Diagnostics.XmlWriterTraceListener | Sincronização |
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() | Sincronização |
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() | Sincronização |
System.Text.RegularExpressions.Group.Synchronized() | Sincronização |
System.Text.RegularExpressions.Match.Synchronized() | Sincronização |
System.Text.RegularExpressions.Regex.CompileToAssembly() | MayLeakOnAbort |
System.Threading.Semaphore | ExternalThreading, Synchronization |
System.Timers.Timer | ExternalThreading, Synchronization |
WebClientWriteStream.BeginRead() | ExternalThreading |
WebClientWriteStream.BeginWrite() | ExternalThreading |
Confira também
Atributos de proteção de host e programação da Integração CLR
Tipos e membros não permitidos em Microsoft.VisualBasic.dll
Tipos e membros não permitidos em mscorlib.dll
Tipos e membros não permitidos em System.Data.dll
Tipos e membros não permitidos no System.Core.dll