Tipi e membri non consentiti in mscorlib.dll
Si applica a:SQL Server
SQL Server programmazione CLR (Common Language Integration) non consente l'uso di un tipo o di un membro con hostProtectionAttribute che specifica un'enumerazione System.Security.Permissions.HostProtectionResource con un valore externalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState , sincronizzazione o interfaccia utente. Nella tabella seguente sono elencati i membri e i tipi dell'assembly mscorlib.dll i cui valori degli attributi di protezione host non sono consentiti.
Nota
Questo elenco è stato generato dagli assembly supportati. Per altre informazioni, vedere Librerie .NET Framework supportate.
Tipo o membro | Valori dell'attributo di protezione host |
---|---|
SyncStream.BeginRead() | ExternalThreading |
SyncStream.BeginWrite() | ExternalThreading |
System.Collections.ArrayList.Synchronized() | Sincronizzazione |
System.Collections.Hashtable.Synchronized() | Sincronizzazione |
System.Collections.Queue.Synchronized() | Sincronizzazione |
System.Collections.SortedList.Synchronized() | Sincronizzazione |
System.Collections.Stack.Synchronized() | Sincronizzazione |
System.Console.Beep() | Interfaccia utente |
System.Console.get_Error() | Interfaccia utente |
System.Console.get_In() | Interfaccia utente |
System.Console.get_KeyAvailable() | Interfaccia utente |
System.Console.get_Out() | Interfaccia utente |
System.Console.OpenStandardError() | Interfaccia utente |
System.Console.OpenStandardInput() | Interfaccia utente |
System.Console.OpenStandardOutput() | Interfaccia utente |
System.Console.Read() | Interfaccia utente |
System.Console.ReadKey() | Interfaccia utente |
System.Console.ReadLine() | Interfaccia utente |
System.Console.SetError() | Interfaccia utente |
System.Console.SetIn() | Interfaccia utente |
System.Console.SetOut() | Interfaccia utente |
System.Console.Write() | Interfaccia utente |
System.Console.WriteLine() | Interfaccia utente |
System.Diagnostics.LogMessageEventHandler | ExternalThreading, Synchronization |
System.IO.FileStream.BeginRead() | ExternalThreading |
System.IO.FileStream.BeginWrite() | ExternalThreading |
System.IO.Stream.Synchronized() | Sincronizzazione |
System.IO.TextReader.Synchronized() | Sincronizzazione |
System.IO.TextWriter.Synchronized() | Sincronizzazione |
System.Reflection.Emit.AssemblyBuilder | MayLeakOnAbort |
System.Reflection.Emit.ConstructorBuilder | MayLeakOnAbort |
System.Reflection.Emit.CustomAttributeBuilder | MayLeakOnAbort |
System.Reflection.Emit.EnumBuilder | MayLeakOnAbort |
System.Reflection.Emit.EventBuilder | MayLeakOnAbort |
System.Reflection.Emit.FieldBuilder | MayLeakOnAbort |
System.Reflection.Emit.MethodBuilder | MayLeakOnAbort |
System.Reflection.Emit.MethodRental | MayLeakOnAbort |
System.Reflection.Emit.ModuleBuilder | MayLeakOnAbort |
System.Reflection.Emit.PropertyBuilder | MayLeakOnAbort |
System.Reflection.Emit.TypeBuilder | MayLeakOnAbort |
System.Reflection.Emit.UnmanagedMarshal | MayLeakOnAbort |
System.Security.Principal.WindowsPrincipal | SecurityInfrastructure |
System.Threading.AutoResetEvent | ExternalThreading, Synchronization |
System.Threading.EventWaitHandle | ExternalThreading, Synchronization |
System.Threading.ManualResetEvent | ExternalThreading, Synchronization |
System.Threading.Monitor | ExternalThreading, Synchronization |
System.Threading.Mutex | ExternalThreading, Synchronization |
System.Threading.ReaderWriterLock | ExternalThreading, Synchronization |
System.Threading.Thread.AllocateDataSlot() | ExternalThreading, SharedState |
System.Threading.Thread.AllocateNamedDataSlot() | ExternalThreading, SharedState |
System.Threading.Thread.BeginCriticalRegion() | ExternalThreading, Synchronization |
System.Threading.Thread.EndCriticalRegion() | ExternalThreading, Synchronization |
System.Threading.Thread.FreeNamedDataSlot() | ExternalThreading, SharedState |
System.Threading.Thread.GetData() | ExternalThreading, SharedState |
System.Threading.Thread.GetNamedDataSlot() | ExternalThreading, SharedState |
System.Threading.Thread.Join() | ExternalThreading, Synchronization |
System.Threading.Thread.set_ApartmentState() | Synchronization, SelfAffectingThreading |
System.Threading.Thread.set_CurrentUICulture() | ExternalThreading |
System.Threading.Thread.set_IsBackground() | SelfAffectingThreading |
System.Threading.Thread.set_Name() | ExternalThreading |
System.Threading.Thread.set_Priority() | SelfAffectingThreading |
System.Threading.Thread.SetApartmentState() | Synchronization, SelfAffectingThreading |
System.Threading.Thread.SetData() | ExternalThreading, SharedState |
System.Threading.Thread.SpinWait() | ExternalThreading, Synchronization |
System.Threading.Thread.Start() | ExternalThreading, Synchronization |
System.Threading.Thread.TrySetApartmentState() | Synchronization, SelfAffectingThreading |
System.Threading.ThreadPool | ExternalThreading, Synchronization |
System.Threading.Timer | ExternalThreading, Synchronization |
System.Threading.TimerBase | ExternalThreading, Synchronization |
Vedere anche
Attributi di protezione host e programmazione dell'integrazione con CLR
Tipi e membri non consentiti in Microsoft.VisualBasic.dll
Tipi e membri non consentiti in System.dll
Tipi e membri non consentiti in System.Data.dll
Tipi e membri non consentiti in System.Core.dll
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: nel corso del 2024 verranno dismessi i problemi di GitHub come meccanismo di feedback per il contenuto e verranno sostituiti con un nuovo sistema di feedback. Per altre informazioni, vedere:Invia e visualizza il feedback per