Azok az API-k, amelyek mindig kivételeket adnak a .NET Core-on és a .NET 5+-on
A következő API-k mindig kivételt képeznek a .NET-en (Core) a platformok teljes vagy egy részhalmazán. A legtöbb esetben a kidobott kivétel az PlatformNotSupportedException.
Ez a cikk névtér alapján rendszerezi az érintett API-kat.
Feljegyzés
- Ez a cikk folyamatban lévő munka. Ez nem az api-k teljes listája, amelyek kivételeket vetnek ki a .NET 5+ rendszeren.
- Ez a cikk nem tartalmazza a .NET 5+-on megjelenő bináris szerializálás explicit felületi implementációit. További információ: Bináris szerializálás a .NET Core-ban.
Rendszer
System.CodeDom.Compiler
Tag | A dobóplatformok |
---|---|
CodeDomProvider.CompileAssemblyFromDom | Mind |
CodeDomProvider.CompileAssemblyFromFile | Mind |
CodeDomProvider.CompileAssemblyFromSource | Mind |
System.Collections.Special
System.Configuration
Tag | A dobóplatformok |
---|---|
System.Configuration.RsaProtectedConfigurationProvider (minden tag) | Mind |
System.Console
Tag | A dobóplatformok |
---|---|
Console.Beep() | Linux és macOS |
Console.BufferHeight (csak beállítva) | Linux és macOS |
Console.BufferWidth (csak beállítva) | Linux és macOS |
Console.CursorSize (csak beállítva) | Linux és macOS |
Console.CursorVisible (csak lekérés) | Linux és macOS |
Console.MoveBufferArea | Linux és macOS |
Console.SetWindowPosition | Linux és macOS |
Console.SetWindowSize | Linux és macOS |
Console.Title (csak lekérés) | Linux és macOS |
Console.WindowHeight (csak beállítva) | Linux és macOS |
Console.WindowLeft (csak beállítva) | Linux és macOS |
Console.WindowTop (csak beállítva) | Linux és macOS |
Console.WindowWidth (csak beállítva) | Linux és macOS |
System.Data.Common
Tag | A dobóplatformok |
---|---|
DbDataReader.GetSchemaTable(dob )NotSupportedException | Mind |
System.Diagnostics.Process
Tag | A dobóplatformok |
---|---|
Process.MaxWorkingSet (csak beállítva) | Linux |
Process.MinWorkingSet (csak beállítva) | Linux |
Process.ProcessorAffinity | macOS |
Process.MainWindowHandle | Linux és macOS |
Process.Start(String, String, String, SecureString, String) | Linux és macOS |
Process.Start(String, String, SecureString, String) | Linux és macOS |
ProcessStartInfo.UserName | Linux és macOS |
ProcessStartInfo.PasswordInClearText | Linux és macOS |
ProcessStartInfo.Domain | Linux és macOS |
ProcessStartInfo.LoadUserProfile | Linux és macOS |
ProcessThread.BasePriority (csak beállítva) | Linux és macOS |
ProcessThread.BasePriority (csak lekérés) | macOS |
ProcessThread.ProcessorAffinity (csak beállítva) | Linux és macOS |
System.IO
Tag | A dobóplatformok |
---|---|
FileSystemInfo(SerializationInfo, StreamingContext) | Mind |
FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext) | Mind |
System.IO.Pipes
Tag | A dobóplatformok |
---|---|
NamedPipeClientStream.NumberOfServerInstances | Linux és macOS |
NamedPipeServerStream.GetImpersonationUserName() | Linux és macOS |
PipeStream.InBufferSize | Linux és macOS |
PipeStream.OutBufferSize | Linux és macOS |
PipeStream.ReadMode (csak beállítva) | Linux és macOS |
PipeStream.WaitForPipeDrain() | Linux és macOS |
System.Media
Tag | A dobóplatformok |
---|---|
SoundPlayer(SerializationInfo, StreamingContext) | Mind |
System.Net
System.Net.NetworkInformation
Tag | A dobóplatformok |
---|---|
Ping.Send | Windows (UWP) |
System.Net.Sockets
Tag | A dobóplatformok |
---|---|
Socket(SocketInformation) | Mind |
Socket.DuplicateAndClose(Int32) | Mind |
System.Net.WebSockets
Tag | A dobóplatformok |
---|---|
WebSocket.RegisterPrefixes() | Mind |
Rendszer. Önkifejezés ion
System.Runtime.CompilerServices
Tag | A dobóplatformok |
---|---|
DebugInfoGenerator.CreatePdbGenerator() | Mind |
System.Runtime.InteropServices
Tag | A dobóplatformok |
---|---|
IDispatchImplAttribute | Mind |
Marshal.GetIDispatchForObject(Object) | Mind |
RuntimeEnvironment.SystemConfigurationFile | Mind |
RuntimeEnvironment.GetRuntimeInterfaceAsIntPtr(Guid, Guid) | Mind |
RuntimeEnvironment.GetRuntimeInterfaceAsObject(Guid, Guid) | Mind |
WindowsRuntimeMarshal.StringToHString(String) | Linux és macOS |
WindowsRuntimeMarshal.PtrToStringHString(IntPtr) | Linux és macOS |
WindowsRuntimeMarshal.FreeHString(IntPtr) | Linux és macOS |
System.Runtime.Serialization
Tag | A dobóplatformok |
---|---|
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream, Object)* | Mind |
BinaryFormatter.Deserialize(Stream)* | Mind |
XsdDataContractExporter.Schemas | Mind |
* .NET 8 és újabb verziók csak a Windows Forms és a WPF kivételével minden projekttípushoz.
System.Security
System.Security.Claims
System.Security.Cryptography
System.Security.Cryptography.Pkcs
Tag | A dobóplatformok |
---|---|
CmsSigner(CspParameters) | Mind |
SignerInfo.ComputeCounterSignature() | Mind |
System.Security.Cryptography.X509Certificates
Tag | A dobóplatformok |
---|---|
X509Certificate(SerializationInfo, StreamingContext) | Mind |
X509Certificate.Import | Mind |
X509Certificate2(SerializationInfo, StreamingContext) | Mind |
X509Certificate2.PrivateKey (csak beállítva) | Mind |
System.Security.Authentication.ExtendedProtection
Tag | A dobóplatformok |
---|---|
ExtendedProtectionPolicy(SerializationInfo, StreamingContext) | Mind |
System.Security.Policy
Tag | A dobóplatformok |
---|---|
Hash.GetObjectData(SerializationInfo, StreamingContext) | Mind |
System.ServiceProcess.ServiceController
Tag | A dobóplatformok |
---|---|
TimeoutException(SerializationInfo, StreamingContext) | Mind |
System.Text.RegularExpressions
Tag | A dobóplatformok |
---|---|
Regex.CompileToAssembly | Mind |
System.Threading
Tag | A dobóplatformok |
---|---|
CompressedStack.GetObjectData(SerializationInfo, StreamingContext) | Mind |
ExecutionContext.GetObjectData(SerializationInfo, StreamingContext) | Mind |
Thread.Abort | Mind |
Thread.ResetAbort() | Mind |
Thread.Resume() | Mind |
Thread.Suspend() | Mind |
System.Xml
Lásd még
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.