mscorlib.dll에 허용되지 않는 유형 및 멤버
SQL Server 공용 언어 통합(CLR) 프로그래밍에서는 System.Security.Permissions.HostProtectionResource 열거형이 ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization 또는 UI 값으로 지정된 HostProtectionAttribute가 있는 유형 또는 멤버를 사용할 수 없습니다. 다음 표에는 HPA(호스트 보호 특성) 값이 허용되지 않는 mscorlib.dll 어셈블리의 멤버 및 유형이 나열되어 있습니다.
[!참고]
이 목록은 .NET Framework 버전 2.0 SP1에서 지원하는 어셈블리에서 생성되었습니다. 자세한 내용은 지원되는 .NET Framework 라이브러리를 참조하십시오.
유형 또는 멤버 |
HPA 값 |
---|---|
SyncStream.BeginRead() |
ExternalThreading |
SyncStream.BeginWrite() |
ExternalThreading |
System.Collections.ArrayList.Synchronized() |
Synchronization |
System.Collections.Hashtable.Synchronized() |
Synchronization |
System.Collections.Queue.Synchronized() |
Synchronization |
System.Collections.SortedList.Synchronized() |
Synchronization |
System.Collections.Stack.Synchronized() |
Synchronization |
System.Console.Beep() |
UI |
System.Console.get_Error() |
UI |
System.Console.get_In() |
UI |
System.Console.get_KeyAvailable() |
UI |
System.Console.get_Out() |
UI |
System.Console.OpenStandardError() |
UI |
System.Console.OpenStandardInput() |
UI |
System.Console.OpenStandardOutput() |
UI |
System.Console.Read() |
UI |
System.Console.ReadKey() |
UI |
System.Console.ReadLine() |
UI |
System.Console.SetError() |
UI |
System.Console.SetIn() |
UI |
System.Console.SetOut() |
UI |
System.Console.Write() |
UI |
System.Console.WriteLine() |
UI |
System.Diagnostics.LogMessageEventHandler |
ExternalThreading, Synchronization |
System.IO.FileStream.BeginRead() |
ExternalThreading |
System.IO.FileStream.BeginWrite() |
ExternalThreading |
System.IO.Stream.Synchronized() |
Synchronization |
System.IO.TextReader.Synchronized() |
Synchronization |
System.IO.TextWriter.Synchronized() |
Synchronization |
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 |