.NET Core ve .NET 5+ üzerinde her zaman özel durumlar oluşturan API'ler
Aşağıdaki API'ler platformların tümünde veya bir alt kümesinde .NET'te (Core) her zaman bir özel durum oluşturur. Çoğu durumda, oluşan özel durum şeklindedir PlatformNotSupportedException.
Bu makalede, etkilenen API'ler ad alanına göre düzenlenir.
Not
- Bu makale devam eden bir çalışmadır. .NET 5+ üzerinde özel durumlar oluşturan API'lerin tam listesi değildir.
- Bu makale, .NET 5+ üzerinde oluşturan ikili serileştirme için açık arabirim uygulamalarını içermez. Daha fazla bilgi için bkz . .NET Core'da ikili serileştirme.
Sistem
System.CodeDom.Compiler
Üye | Oluşturan platformlar |
---|---|
CodeDomProvider.CompileAssemblyFromDom | Tümü |
CodeDomProvider.CompileAssemblyFromFile | Tümü |
CodeDomProvider.CompileAssemblyFromSource | Tümü |
System.Collections.Specialized
System.Configuration
Üye | Oluşturan platformlar |
---|---|
System.Configuration.RsaProtectedConfigurationProvider (tüm üyeler) | Tümünü |
System.Console
Üye | Oluşturan platformlar |
---|---|
Console.Beep() | Linux ve macOS |
Console.BufferHeight (yalnızca ayarla) | Linux ve macOS |
Console.BufferWidth (yalnızca ayarla) | Linux ve macOS |
Console.CursorSize (yalnızca ayarla) | Linux ve macOS |
Console.CursorVisible (yalnızca al) | Linux ve macOS |
Console.MoveBufferArea | Linux ve macOS |
Console.SetWindowPosition | Linux ve macOS |
Console.SetWindowSize | Linux ve macOS |
Console.Title (yalnızca al) | Linux ve macOS |
Console.WindowHeight (yalnızca ayarla) | Linux ve macOS |
Console.WindowLeft (yalnızca ayarla) | Linux ve macOS |
Console.WindowTop (yalnızca ayarla) | Linux ve macOS |
Console.WindowWidth (yalnızca ayarla) | Linux ve macOS |
System.Data.Common
Üye | Oluşturan platformlar |
---|---|
DbDataReader.GetSchemaTable (atar NotSupportedException) | Tümünü |
System.Diagnostics.Process
Üye | Oluşturan platformlar |
---|---|
Process.MaxWorkingSet (yalnızca ayarla) | Linux |
Process.MinWorkingSet (yalnızca ayarla) | 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 ayarla) | Linux ve macOS |
ProcessThread.BasePriority (yalnızca al) | macOS |
ProcessThread.ProcessorAffinity (yalnızca ayarla) | Linux ve macOS |
System.IO
Üye | Oluşturan platformlar |
---|---|
FileSystemInfo(SerializationInfo, StreamingContext) | Tümü |
FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext) | Tümü |
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 ayarla) | Linux ve macOS |
PipeStream.WaitForPipeDrain() | Linux ve macOS |
Media
Üye | Oluşturan platformlar |
---|---|
SoundPlayer(SerializationInfo, StreamingContext) | Tümünü |
System.Net
Networkınformation
Üye | Oluşturan platformlar |
---|---|
Ping.Send | Windows (UWP) |
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ünü |
Sistem. Düşünceler ion
Üye | Oluşturan platformlar |
---|---|
Assembly.CodeBase | Tümü |
Assembly.EscapedCodeBase | Tümü |
Assembly.LoadFrom(String, Byte[], AssemblyHashAlgorithm) | Tümü |
Assembly.ReflectionOnlyLoad | Tümü |
Assembly.ReflectionOnlyLoadFrom(String) | Tümü |
AssemblyName.GetObjectData(SerializationInfo, StreamingContext) | Tümü |
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ünü |
System.Runtime.InteropServices
Üye | Oluşturan platformlar |
---|---|
IDispatchImplAttribute | Tümü |
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 |
---|---|
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream, Object)* | Tümü |
BinaryFormatter.Deserialize(Stream)* | Tümü |
XsdDataContractExporter.Schemas | Tümü |
* .NET 8 ve sonraki sürümleri yalnızca Windows Forms ve WPF dışındaki tüm proje türleri için geçerlidir.
Security
System.Security.Claims
System.Security.Cryptography
System.Security.Cryptography.Pkcs
Üye | Oluşturan platformlar |
---|---|
CmsSigner(CspParameters) | Tümü |
SignerInfo.ComputeCounterSignature() | Tümü |
System.Security.Cryptography.X509Certificates
Üye | Oluşturan platformlar |
---|---|
X509Certificate(SerializationInfo, StreamingContext) | Tümü |
X509Certificate.Import | Tümü |
X509Certificate2(SerializationInfo, StreamingContext) | Tümü |
X509Certificate2.PrivateKey (yalnızca ayarla) | Tümünü |
System.Security.Authentication.ExtendedProtection
Üye | Oluşturan platformlar |
---|---|
ExtendedProtectionPolicy(SerializationInfo, StreamingContext) | Tümünü |
System.Security.Policy
Üye | Oluşturan platformlar |
---|---|
Hash.GetObjectData(SerializationInfo, StreamingContext) | Tümünü |
System.ServiceProcess.ServiceController
Üye | Oluşturan platformlar |
---|---|
TimeoutException(SerializationInfo, StreamingContext) | Tümünü |
System.Text.RegularExpressions
Üye | Oluşturan platformlar |
---|---|
Regex.CompileToAssembly | Tümünü |
Threading
Üye | Oluşturan 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
Ayrıca bkz.
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.