Types et membres interdits dans Microsoft.VisualBasic.dll
La programmation du CLR (Common Language Runtime) SQL Server interdit l'utilisation d'un type ou d'un membre qui possède un HostProtectionAttribute spécifiant une énumération System.Security.Permissions.HostProtectionResource avec la valeur ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization ou UI. Le tableau suivant répertorie les membres et les types de l'assembly Microsoft.VisualBasic.dll dont les valeurs d'attribut de protection de l'hôte (HPA) sont interdites.
Notes
Cette liste a été générée à partir des assemblys pris en charge du .NET Framework version 2.0 SP1. Pour plus d'informations, consultez Bibliothèques .NET Framework prises en charge.
Type ou membre |
Valeur(s) 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 |