Compartilhar via


Tipos desaprovados e membros em Microsoft.VisualBasic.dll

A programação de CLR (common language runtime) do SQL Server não permite o uso de um tipo ou membro que tenha um HostProtectionAttribute que especifique uma enumeração System.Security.Permissions.HostProtectionResource com valor de ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization ou UI. A tabela a seguir lista os membros e tipos do assembly Microsoft.VisualBasic.dll cujos valores HPA (Host Protection Attribute) são desaprovados.

ObservaçãoObservação

Essa lista foi gerada com base nos assemblies suportados na versão 2.0 SP1 do .NET Framework. Para obter mais informações, consulte Bibliotecas do .NET Framework compatíveis.

Tipo ou membro

Valor(es) de HPA

Microsoft.VisualBasic.ApplicationServices.ApplicationBase

ExternalProcessMgmt

Microsoft.VisualBasic.ApplicationServices.ApplicationBase.ChangeCulture()

ExternalProcessMgmt

Microsoft.VisualBasic.ApplicationServices.ApplicationBase.get_Info()

ExternalProcessMgmt

Microsoft.VisualBasic.ApplicationServices.AssemblyInfo

ExternalProcessMgmt

Microsoft.VisualBasic.ApplicationServices.BuiltInRoleConverter

SharedState

Microsoft.VisualBasic.ApplicationServices.ConsoleApplicationBase

ExternalProcessMgmt

Microsoft.VisualBasic.ApplicationServices.User

ExternalProcessMgmt

Microsoft.VisualBasic.ApplicationServices.WebUser

ExternalProcessMgmt

Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase

ExternalProcessMgmt

Microsoft.VisualBasic.CompilerServices.HostServices

SharedState

Microsoft.VisualBasic.CompilerServices.ProjectData.EndApp()

SelfAffectingProcessMgmt

Microsoft.VisualBasic.CompilerServices.Utils.SetCultureInfo()

SelfAffectingThreading

Microsoft.VisualBasic.DateAndTime.set_DateString()

ExternalProcessMgmt

Microsoft.VisualBasic.DateAndTime.set_TimeOfDay()

ExternalProcessMgmt

Microsoft.VisualBasic.DateAndTime.set_TimeString()

ExternalProcessMgmt

Microsoft.VisualBasic.DateAndTime.set_Today()

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.Audio

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.Clock

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.Computer

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.ComputerInfo

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.Keyboard

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.Mouse

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.Network

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.Ports

ExternalProcessMgmt

Microsoft.VisualBasic.Devices.ServerComputer

ExternalProcessMgmt

Microsoft.VisualBasic.FileIO.FileSystem

ExternalProcessMgmt

Microsoft.VisualBasic.FileIO.SpecialDirectories

ExternalProcessMgmt

Microsoft.VisualBasic.FileIO.TextFieldParser..ctor()

ExternalProcessMgmt

Microsoft.VisualBasic.FileSystem

ExternalProcessMgmt

Microsoft.VisualBasic.Interaction.CreateObject()

ExternalProcessMgmt

Microsoft.VisualBasic.Interaction.DeleteSetting()

ExternalProcessMgmt

Microsoft.VisualBasic.Interaction.GetObject()

ExternalProcessMgmt

Microsoft.VisualBasic.Interaction.InputBox()

UI

Microsoft.VisualBasic.Interaction.MsgBox()

UI

Microsoft.VisualBasic.Logging.AspLog

ExternalProcessMgmt

Microsoft.VisualBasic.Logging.FileLogTraceListener..ctor()

ExternalProcessMgmt

Microsoft.VisualBasic.Logging.FileLogTraceListener.Close()

Synchronization

Microsoft.VisualBasic.Logging.FileLogTraceListener.Dispose()

Synchronization

Microsoft.VisualBasic.Logging.FileLogTraceListener.Flush()

Synchronization

Microsoft.VisualBasic.Logging.FileLogTraceListener.GetSupportedAttributes()

Synchronization

Microsoft.VisualBasic.Logging.FileLogTraceListener.TraceData()

Synchronization

Microsoft.VisualBasic.Logging.FileLogTraceListener.TraceEvent()

Synchronization

Microsoft.VisualBasic.Logging.FileLogTraceListener.Write()

Synchronization

Microsoft.VisualBasic.Logging.FileLogTraceListener.WriteLine()

Synchronization

Microsoft.VisualBasic.Logging.Log

ExternalProcessMgmt

Microsoft.VisualBasic.MyServices.ClipboardProxy

ExternalProcessMgmt

Microsoft.VisualBasic.MyServices.FileSystemProxy

ExternalProcessMgmt

Microsoft.VisualBasic.MyServices.RegistryProxy

ExternalProcessMgmt

Microsoft.VisualBasic.MyServices.SpecialDirectoriesProxy

ExternalProcessMgmt