Jaa


Disallowed Types and Members In System.dll

New: 14 April 2006

SQL Server 2005 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 Microsoft.VisualBasic.dll assembly whose Host Protection Attribute (HPA) values are disallowed.

Note

This list was generated from the supported assemblies of version 2.0.50727 of the .NET Framework. For more information, see Supported .NET Framework Libraries.

Type or Member HPA Value(s)

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

Synchronization

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

Synchronization

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

Synchronization

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

Synchronization

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

Synchronization

System.Diagnostics.Debug.get_Listeners()

SharedState

System.Diagnostics.DefaultTraceListener

Synchronization

System.Diagnostics.DelimitedListTraceListener

Synchronization

System.Diagnostics.EventLog.get_SynchronizingObject()

Synchronization

System.Diagnostics.EventLogTraceListener

Synchronization

System.Diagnostics.PerformanceCounter

SharedState, Synchronization

System.Diagnostics.PerformanceCounterCategory

SharedState, Synchronization

System.Diagnostics.Process

SelfAffectingProcessMgmt, ExternalProcessMgmt, SharedState, Synchronization

System.Diagnostics.ProcessStartInfo

SelfAffectingProcessMgmt, SharedState

System.Diagnostics.ProcessThread

SelfAffectingThreading, SelfAffectingProcessMgmt

System.Diagnostics.SharedPerformanceCounter

SharedState, Synchronization

System.Diagnostics.TextWriterTraceListener

Synchronization

System.Diagnostics.Trace.get_Listeners()

SharedState

System.Diagnostics.TraceListener

Synchronization

System.Diagnostics.XmlWriterTraceListener

Synchronization

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()

Synchronization

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()

Synchronization

System.Text.RegularExpressions.Group.Synchronized()

Synchronization

System.Text.RegularExpressions.Match.Synchronized()

Synchronization

System.Text.RegularExpressions.Regex.CompileToAssembly()

MayLeakOnAbort

System.Threading.Semaphore

ExternalThreading, Synchronization

System.Timers.Timer

ExternalThreading, Synchronization

WebClientWriteStream.BeginRead()

ExternalThreading

WebClientWriteStream.BeginWrite()

ExternalThreading

See Also

Concepts

Host Protection Attributes and CLR Integration Programming
Disallowed Types and Members In Microsoft.VisualBasic.dll
Disallowed Types and Members In mscorlib.dll
Disallowed Types and Members In System.Data.dll

Help and Information

Getting SQL Server 2005 Assistance