Bagikan melalui


Disallowed Types and Members in Microsoft.VisualBasic.dll

SQL Server 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. For more information, see Supported .NET Framework Libraries.

Type or Member

HPA Value(s)

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

See Also

Concepts

Host Protection Attributes and CLR Integration Programming

Disallowed Types and Members in mscorlib.dll

Disallowed Types and Members in System.dll

Disallowed Types and Members in System.Data.dll

Disallowed Types and Members in System.Core.dll