Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
De volgende API's genereren altijd een uitzondering op .NET (Core) op alle of een subset van platforms. In de meeste gevallen is PlatformNotSupportedExceptionde uitzondering die wordt gegenereerd.
In dit artikel worden de betrokken API's ingedeeld op naamruimte.
Opmerking
- Dit artikel is een werk in uitvoering. Het is geen volledige lijst met API's die uitzonderingen genereren op .NET 5+.
- Dit artikel bevat geen expliciete interface-implementaties voor binaire serialisatie die .NET 5+ genereert. Zie Binaire serialisatie in .NET Core voor meer informatie.
Systeem
System.CodeDom.Compiler
| Lid | Platforms die gooien |
|---|---|
| CodeDomProvider.CompileAssemblyFromDom | Alle |
| CodeDomProvider.CompileAssemblyFromFile | Alle |
| CodeDomProvider.CompileAssemblyFromSource | Alle |
System.Collections.Specialized
System.Configuration
| Lid | Platforms die gooien |
|---|---|
| System.Configuration.RsaProtectedConfigurationProvider (alle leden) | Alle |
System.Console
| Lid | Platforms die gooien |
|---|---|
| Console.Beep() | Linux en macOS |
| Console.BufferHeight (alleen instellen) | Linux en macOS |
| Console.BufferWidth (alleen instellen) | Linux en macOS |
| Console.CursorSize (alleen instellen) | Linux en macOS |
| Console.CursorVisible (alleen verkrijgen) | Linux en macOS |
| Console.MoveBufferArea | Linux en macOS |
| Console.SetWindowPosition | Linux en macOS |
| Console.SetWindowSize | Linux en macOS |
| Console.Title (alleen verkrijgen) | Linux en macOS |
| Console.WindowHeight (alleen instellen) | Linux en macOS |
| Console.WindowLeft (alleen instellen) | Linux en macOS |
| Console.WindowTop (alleen instellen) | Linux en macOS |
| Console.WindowWidth (alleen instellen) | Linux en macOS |
System.Data.Common
| Lid | Platforms die gooien |
|---|---|
| DbDataReader.GetSchemaTable(werpt NotSupportedException) | Alle |
System.Diagnostics.Process
| Lid | Platforms die gooien |
|---|---|
| Process.MaxWorkingSet (alleen instellen) | Linux |
| Process.MinWorkingSet (alleen instellen) | Linux |
| Process.ProcessorAffinity | macOS |
| Process.MainWindowHandle | Linux en macOS |
| Process.Start(String, String, String, SecureString, String) | Linux en macOS |
| Process.Start(String, String, SecureString, String) | Linux en macOS |
| ProcessStartInfo.UserName | Linux en macOS |
| ProcessStartInfo.PasswordInClearText | Linux en macOS |
| ProcessStartInfo.Domain | Linux en macOS |
| ProcessStartInfo.LoadUserProfile | Linux en macOS |
| ProcessThread.BasePriority (alleen instellen) | Linux en macOS |
| ProcessThread.BasePriority (alleen verkrijgen) | macOS |
| ProcessThread.ProcessorAffinity (alleen instellen) | Linux en macOS |
System.IO
| Lid | Platforms die gooien |
|---|---|
| FileSystemInfo(SerializationInfo, StreamingContext) | Alle |
| FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext) | Alle |
System.IO.Pipes
| Lid | Platforms die gooien |
|---|---|
| NamedPipeClientStream.NumberOfServerInstances | Linux en macOS |
| NamedPipeServerStream.GetImpersonationUserName() | Linux en macOS |
| PipeStream.InBufferSize | Linux en macOS |
| PipeStream.OutBufferSize | Linux en macOS |
| PipeStream.ReadMode (alleen instellen) | Linux en macOS |
| PipeStream.WaitForPipeDrain() | Linux en macOS |
System.Media
| Lid | Platforms die gooien |
|---|---|
| SoundPlayer(SerializationInfo, StreamingContext) | Alle |
System.Net
* .NET 9 en nieuwere versies.
System.Net.NetworkInformation
| Lid | Platforms die gooien |
|---|---|
| Ping.Send | Windows (UWP) |
System.Net.Sockets
| Lid | Platforms die gooien |
|---|---|
| Socket(SocketInformation) | Alle |
| Socket.DuplicateAndClose(Int32) | Alle |
System.Net.WebSockets
| Lid | Platforms die gooien |
|---|---|
| WebSocket.RegisterPrefixes() | Alle |
System.Reflection
| Lid | Platforms die gooien |
|---|---|
| Assembly.CodeBase | Alle |
| Assembly.EscapedCodeBase | Alle |
| Assembly.LoadFrom(String, Byte[], AssemblyHashAlgorithm) | Alle |
| Assembly.ReflectionOnlyLoad | Alle |
| Assembly.ReflectionOnlyLoadFrom(String) | Alle |
| AssemblyName.GetObjectData(SerializationInfo, StreamingContext) | Alle |
| AssemblyName.KeyPair | Alle |
| AssemblyName.OnDeserialization(Object) | Alle |
| StrongNameKeyPair | Alle |
| StrongNameKeyPair.PublicKey | Alle |
System.Runtime.CompilerServices
| Lid | Platforms die gooien |
|---|---|
| DebugInfoGenerator.CreatePdbGenerator() | Alle |
System.Runtime.InteropServices
| Lid | Platforms die gooien |
|---|---|
| IDispatchImplAttribute | Alle |
| Marshal.GetIDispatchForObject(Object) | Alle |
| RuntimeEnvironment.SystemConfigurationFile | Alle |
| RuntimeEnvironment.GetRuntimeInterfaceAsIntPtr(Guid, Guid) | Alle |
| RuntimeEnvironment.GetRuntimeInterfaceAsObject(Guid, Guid) | Alle |
| WindowsRuntimeMarshal.StringToHString(String) | Linux en macOS |
| WindowsRuntimeMarshal.PtrToStringHString(IntPtr) | Linux en macOS |
| WindowsRuntimeMarshal.FreeHString(IntPtr) | Linux en macOS |
System.Runtime.Serialization
* .NET 9 en nieuwere versies. † .NET 8 alleen voor alle projecttypen behalve Windows Forms en WPF.
System.Security
System.Security.Claims
System.Security.Cryptography
* .NET 11 en nieuwere versies.
System.Security.Cryptography.Pkcs
| Lid | Platforms die gooien |
|---|---|
| CmsSigner(CspParameters) | Alle |
| SignerInfo.ComputeCounterSignature() | Alle |
System.Security.Cryptography.X509Certificates
| Lid | Platforms die gooien |
|---|---|
| X509Certificate(SerializationInfo, StreamingContext) | Alle |
| X509Certificate.Import | Alle |
| X509Certificate2(SerializationInfo, StreamingContext) | Alle |
| X509Certificate2.PrivateKey (alleen instellen) | Alle |
System.Security.Authentication.ExtendedProtection
| Lid | Platforms die gooien |
|---|---|
| ExtendedProtectionPolicy(SerializationInfo, StreamingContext) | Alle |
System.Security.Policy
| Lid | Platforms die gooien |
|---|---|
| Hash.GetObjectData(SerializationInfo, StreamingContext) | Alle |
System.ServiceProcess.ServiceController
| Lid | Platforms die gooien |
|---|---|
| TimeoutException(SerializationInfo, StreamingContext) | Alle |
System.Text.RegularExpressions
| Lid | Platforms die gooien |
|---|---|
| Regex.CompileToAssembly | Alle |
System.Threading
| Lid | Platforms die gooien |
|---|---|
| CompressedStack.GetObjectData(SerializationInfo, StreamingContext) | Alle |
| ExecutionContext.GetObjectData(SerializationInfo, StreamingContext) | Alle |
| Thread.Abort | Alle |
| Thread.ResetAbort() | Alle |
| Thread.Resume() | Alle |
| Thread.Suspend() | Alle |