.NET Core ve .NET 5 + ' da her zaman özel durum oluşturan API 'Ler

Aşağıdaki API 'Ler her zaman .NET 5 ve sonraki sürümlerde (.NET Core 'un tüm sürümleri dahil) bir platform alt kümesi üzerinde bir özel durum oluşturur. Çoğu durumda, oluşturulan özel durum PlatformNotSupportedException .

Bu makale, etkilenen API 'Leri ad alanına göre düzenler.

Not

  • Bu makale, devam eden bir çalışmadır. .NET 5 + ' da özel durum oluşturan API 'lerin tamamen bir listesi değildir.
  • Bu makalede, .NET 5 + ' de oluşturan ikili serileştirme için açık arabirim uygulamaları dahil değildir. Daha fazla bilgi için bkz. .NET Core 'Da ikili serileştirme.

Sistem

Üye Oluşturan platformlar
AppDomain.CreateDomain Tümü
AppDomain.ExecuteAssembly(String, String[], Byte[], AssemblyHashAlgorithm) Tümü
AppDomain.Unload(AppDomain) Tümü
Console.CapsLock Linux ve macOS
Console.NumberLock Linux ve macOS
Delegate.GetObjectData(SerializationInfo, StreamingContext) Tümü
Exception.SerializeObjectState Tümü
MarshalByRefObject.GetLifetimeService() Tümü
MarshalByRefObject.InitializeLifetimeService() Tümü
OperatingSystem.GetObjectData(SerializationInfo, StreamingContext) Tümü
Type.ReflectionOnlyGetType(String, Boolean, Boolean) Tümü

System. CodeDom. derleyicisi

Üye Oluşturan platformlar
CodeDomProvider.CompileAssemblyFromDom Tümü
CodeDomProvider.CompileAssemblyFromFile Tümü
CodeDomProvider.CompileAssemblyFromSource Tümü

System. Collections. özelleşmiş

Üye Oluşturan platformlar
NameObjectCollectionBase(SerializationInfo, StreamingContext) Tümü
NameObjectCollectionBase.GetObjectData(SerializationInfo, StreamingContext) Tümü
NameObjectCollectionBase.OnDeserialization(Object) Tümü

System. Configuration

Üye Oluşturan platformlar
System.Configuration.RsaProtectedConfigurationProvider (tüm Üyeler) Tümü

System.Console

Üye Oluşturan platformlar
Console.Beep() Linux ve macOS
Console.BufferHeight (yalnızca set) Linux ve macOS
Console.BufferWidth (yalnızca set) Linux ve macOS
Console.CursorSize (yalnızca set) Linux ve macOS
Console.CursorVisible (yalnızca Get) Linux ve macOS
Console.MoveBufferArea Linux ve macOS
Console.SetWindowPosition Linux ve macOS
Console.SetWindowSize Linux ve macOS
Console.Title (yalnızca Get) Linux ve macOS
Console.WindowHeight (yalnızca set) Linux ve macOS
Console.WindowLeft (yalnızca set) Linux ve macOS
Console.WindowTop (yalnızca set) Linux ve macOS
Console.WindowWidth (yalnızca set) Linux ve macOS

System. Data. Common

Üye Oluşturan platformlar
DbDataReader.GetSchemaTable (atar NotSupportedException ) Tümü

System. Diagnostics. Process

Üye Oluşturan platformlar
Process.MaxWorkingSet (yalnızca set) Linux
Process.MinWorkingSet (yalnızca set) Linux
Process.ProcessorAffinity macOS
Process.MainWindowHandle Linux ve macOS
Process.Start(String, String, String, SecureString, String) Linux ve macOS
Process.Start(String, String, SecureString, String) Linux ve macOS
ProcessStartInfo.UserName Linux ve macOS
ProcessStartInfo.PasswordInClearText Linux ve macOS
ProcessStartInfo.Domain Linux ve macOS
ProcessStartInfo.LoadUserProfile Linux ve macOS
ProcessThread.BasePriority (yalnızca set) Linux ve macOS
ProcessThread.BasePriority (yalnızca Get) Mac OS
ProcessThread.ProcessorAffinity (yalnızca set) Linux ve macOS

System.IO

Üye Oluşturan platformlar
FileSystemInfo(SerializationInfo, StreamingContext) Tümü
FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext) Tümü

System. ıO. Pipes

Üye Oluşturan platformlar
NamedPipeClientStream.NumberOfServerInstances Linux ve macOS
NamedPipeServerStream.GetImpersonationUserName() Linux ve macOS
PipeStream.InBufferSize Linux ve macOS
PipeStream.OutBufferSize Linux ve macOS
PipeStream.ReadMode (yalnızca set) Linux ve macOS
PipeStream.WaitForPipeDrain() Linux ve macOS

System. Media

Üye Oluşturan platformlar
SoundPlayer(SerializationInfo, StreamingContext) Tümü

System.Net

Üye Oluşturan platformlar
AuthenticationManager.Authenticate(String, WebRequest, ICredentials) Tümü
AuthenticationManager.PreAuthenticate(WebRequest, ICredentials) Tümü
FileWebRequest(SerializationInfo, StreamingContext) Tümü
FileWebRequest.GetObjectData(SerializationInfo, StreamingContext) Tümü
FileWebResponse(SerializationInfo, StreamingContext) Tümü
FileWebResponse.GetObjectData(SerializationInfo, StreamingContext) Tümü
HttpWebRequest(SerializationInfo, StreamingContext) Tümü
HttpWebRequest.GetObjectData(SerializationInfo, StreamingContext) Tümü
HttpWebResponse(SerializationInfo, StreamingContext) Tümü
HttpWebResponse.GetObjectData(SerializationInfo, StreamingContext) Tümü
WebProxy(SerializationInfo, StreamingContext) Tümü
WebProxy.GetDefaultProxy() Tümü
WebProxy.GetObjectData Tümü
WebRequest(SerializationInfo, StreamingContext) Tümü
WebRequest.GetObjectData(SerializationInfo, StreamingContext) Tümü
WebResponse(SerializationInfo, StreamingContext) Tümü
WebResponse.GetObjectData(SerializationInfo, StreamingContext) Tümü

System .net. NetworkInformation

Üye Oluşturan platformlar
Ping.Send Windows (UWP)

System .net. Sockets

Üye Oluşturan platformlar
Socket(SocketInformation) Tümü
Socket.DuplicateAndClose(Int32) Tümü

System .net. WebSockets

Üye Oluşturan platformlar
WebSocket.RegisterPrefixes() Tümü

System. Reflection

Üye Oluşturan platformlar
Assembly.CodeBase Tümü
Assembly.EscapedCodeBase Tümü
Assembly.ReflectionOnlyLoad Tümü
Assembly.ReflectionOnlyLoadFrom(String) Tümü
AssemblyName.GetObjectData(SerializationInfo, StreamingContext) Tümü
System.Reflection.AssemblyName.KeyPair Tümü
AssemblyName.OnDeserialization(Object) Tümü
StrongNameKeyPair Tümü
StrongNameKeyPair.PublicKey Tümü

System. Runtime. CompilerServices

Üye Oluşturan platformlar
DebugInfoGenerator.CreatePdbGenerator() Tümü

System. Runtime. InteropServices

Üye Oluşturan platformlar
Marshal.GetIDispatchForObject(Object) Tümü
RuntimeEnvironment.SystemConfigurationFile Tümü
RuntimeEnvironment.GetRuntimeInterfaceAsIntPtr(Guid, Guid) Tümü
RuntimeEnvironment.GetRuntimeInterfaceAsObject(Guid, Guid) Tümü
WindowsRuntimeMarshal.StringToHString(String) Linux ve macOS
WindowsRuntimeMarshal.PtrToStringHString(IntPtr) Linux ve macOS
WindowsRuntimeMarshal.FreeHString(IntPtr) Linux ve macOS

System.Runtime.Serialization

Üye Oluşturan platformlar
XsdDataContractExporter.Schemas Tümü

System. Security

Üye Oluşturan platformlar
CodeAccessPermission.Deny() Tümü
CodeAccessPermission.PermitOnly() Tümü
PermissionSet.ConvertPermissionSet(String, Byte[], String) Tümü
PermissionSet.Deny() Tümü
PermissionSet.PermitOnly() Tümü
SecurityContext.Capture() Tümü
SecurityContext.CreateCopy() Tümü
SecurityContext.Dispose() Tümü
SecurityContext.IsFlowSuppressed() Tümü
SecurityContext.IsWindowsIdentityFlowSuppressed() Tümü
SecurityContext.RestoreFlow() Tümü
SecurityContext.Run(SecurityContext, ContextCallback, Object) Tümü
SecurityContext.SuppressFlow() Tümü
SecurityContext.SuppressFlowWindowsIdentity() Tümü

System. Security. Claim

Üye Oluşturan platformlar
ClaimsPrincipal(SerializationInfo, StreamingContext) Tümü
ClaimsPrincipal.GetObjectData(SerializationInfo, StreamingContext) Tümü
ClaimsIdentity(SerializationInfo) Tümü
ClaimsIdentity(SerializationInfo, StreamingContext) Tümü
ClaimsIdentity.GetObjectData(SerializationInfo, StreamingContext) Tümü

System. Security. Cryptography

Üye Şu platformlar:
AsymmetricAlgorithm.Create(String) Tümü
System.Security.Cryptography.CngAlgorithm Linux ve macOS
System.Security.Cryptography.CngAlgorithmGroup Linux ve macOS
System.Security.Cryptography.CngKey Linux ve macOS
System.Security.Cryptography.CngKeyBlobFormat Linux ve macOS
System.Security.Cryptography.CngKeyCreationParameters Linux ve macOS
System.Security.Cryptography.CngProvider Linux ve macOS
System.Security.Cryptography.CngUIPolicy Linux ve macOS
CryptoConfig.EncodeOID(String) Tümü
CspKeyContainerInfo Linux ve macOS
CspKeyContainerInfo.Accessible Linux ve macOS
CspKeyContainerInfo.Exportable Linux ve macOS
CspKeyContainerInfo.HardwareDevice Linux ve macOS
CspKeyContainerInfo.KeyContainerName Linux ve macOS
CspKeyContainerInfo.KeyNumber Linux ve macOS
CspKeyContainerInfo.MachineKeyStore Linux ve macOS
CspKeyContainerInfo.Protected Linux ve macOS
CspKeyContainerInfo.ProviderName Linux ve macOS
CspKeyContainerInfo.ProviderType Linux ve macOS
CspKeyContainerInfo.RandomlyGenerated Linux ve macOS
CspKeyContainerInfo.Removable Linux ve macOS
CspKeyContainerInfo.UniqueKeyContainerName Linux ve macOS
HashAlgorithm.Create() Tümü
HMAC.Create() Tümü
HMAC.Create(String) Tümü
HMAC.HashCore Tümü
HMAC.HashFinal Tümü
HMAC.Initialize Tümü
KeyedHashAlgorithm.Create() Tümü
KeyedHashAlgorithm.Create(String) Tümü
ProtectedData.Protect Linux ve macOS
ProtectedData.Unprotect Linux ve macOS
RSA.FromXmlString Tümü
RSA.ToXmlString Tümü
SymmetricAlgorithm.Create() Tümü
SymmetricAlgorithm.Create(String) Tümü

System.Security.Cryptography.Pkcs

Üye Şu platformlar:
CmsSigner(CspParameters) Tümü
SignerInfo.ComputeCounterSignature() Tümü

System.Security.Cryptography.X509Certificates

Üye Şu platformlar:
X509Certificate(SerializationInfo, StreamingContext) Tümü
X509Certificate.Import Tümü
X509Certificate2(SerializationInfo, StreamingContext) Tümü
X509Certificate2.PrivateKey (yalnızca ayarlanmış) Tümü

System.Security.Authentication.ExtendedProtection

Üye Şu platformlar:
ExtendedProtectionPolicy(SerializationInfo, StreamingContext) Tümü

System.Security.Policy

Üye Şu platformlar:
Hash.GetObjectData(SerializationInfo, StreamingContext) Tümü

System.ServiceProcess.ServiceController

Üye Şu platformlar:
TimeoutException(SerializationInfo, StreamingContext) Tümü

System.Text.RegularExpressions

Üye Şu platformlar:
Regex.CompileToAssembly Tümü

Threading

Üye Şu platformlar:
CompressedStack.GetObjectData(SerializationInfo, StreamingContext) Tümü
ExecutionContext.GetObjectData(SerializationInfo, StreamingContext) Tümü
Thread.Abort Tümü
Thread.ResetAbort() Tümü
Thread.Resume() Tümü
Thread.Suspend() Tümü

System.Xml

Üye Şu platformlar:
XmlDictionaryReader.CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) Tümü
XmlDictionaryReader.CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) Tümü
XmlDictionaryWriter.CreateMtomWriter(Stream, Encoding, Int32, String, String, String, Boolean, Boolean) Tümü

Ayrıca bkz.