Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Následující rozhraní API vždy vyvolává výjimku v .NET (Core) na všech nebo na podmnožině platforem. Ve většině případů je vyvolána výjimka PlatformNotSupportedException.
Tento článek uspořádá ovlivněná rozhraní API podle názvů oborů.
Poznámka:
- Tento článek je probíhající. Nejedná se o úplný seznam rozhraní API, která vyvolají výjimky v .NET 5 nebo novějším.
- Tento článek neobsahuje explicitní implementace rozhraní pro binární serializaci, které vyvolá rozhraní .NET 5+. Další informace naleznete v tématu Binární serializace v .NET Core.
Systém
| Člen | Platformy, které vyhazují |
|---|---|
| AppDomain.CreateDomain | Všechno |
| AppDomain.ExecuteAssembly(String, String[], Byte[], AssemblyHashAlgorithm) | Všechno |
| AppDomain.Unload(AppDomain) | Všechno |
| Console.CapsLock | Linux a macOS |
| Console.NumberLock | Linux a macOS |
| Delegate.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
| Exception.SerializeObjectState | Všechno |
| MarshalByRefObject.GetLifetimeService() | Všechno |
| MarshalByRefObject.InitializeLifetimeService() | Všechno |
| OperatingSystem.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
| Type.ReflectionOnlyGetType(String, Boolean, Boolean) | Všechno |
System.CodeDom.Compiler
| Člen | Platformy, které vyhazují |
|---|---|
| CodeDomProvider.CompileAssemblyFromDom | Všechno |
| CodeDomProvider.CompileAssemblyFromFile | Všechno |
| CodeDomProvider.CompileAssemblyFromSource | Všechno |
System.Collections.Specialized
| Člen | Platformy, které vyhazují |
|---|---|
| NameObjectCollectionBase(SerializationInfo, StreamingContext) | Všechno |
| NameObjectCollectionBase.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
| NameObjectCollectionBase.OnDeserialization(Object) | Všechno |
System.Configuration
| Člen | Platformy, které vyhazují |
|---|---|
| System.Configuration.RsaProtectedConfigurationProvider (všichni členové) | Všechno |
System.Console
| Člen | Platformy, které vyhazují |
|---|---|
| Console.Beep() | Linux a macOS |
| Console.BufferHeight (pouze nastavit) | Linux a macOS |
| Console.BufferWidth (pouze nastavit) | Linux a macOS |
| Console.CursorSize (pouze nastavit) | Linux a macOS |
| Console.CursorVisible (získat pouze) | Linux a macOS |
| Console.MoveBufferArea | Linux a macOS |
| Console.SetWindowPosition | Linux a macOS |
| Console.SetWindowSize | Linux a macOS |
| Console.Title (získat pouze) | Linux a macOS |
| Console.WindowHeight (pouze nastavit) | Linux a macOS |
| Console.WindowLeft (pouze nastavit) | Linux a macOS |
| Console.WindowTop (pouze nastavit) | Linux a macOS |
| Console.WindowWidth (pouze nastavit) | Linux a macOS |
System.Data.Common
| Člen | Platformy, které vyhazují |
|---|---|
| DbDataReader.GetSchemaTable (vyvolá NotSupportedException) | Všechno |
System.Diagnostics.Process
| Člen | Platformy, které vyhazují |
|---|---|
| Process.MaxWorkingSet (pouze nastavit) | Operační systém Linux |
| Process.MinWorkingSet (pouze nastavit) | Operační systém Linux |
| Process.ProcessorAffinity | macOS |
| Process.MainWindowHandle | Linux a macOS |
| Process.Start(String, String, String, SecureString, String) | Linux a macOS |
| Process.Start(String, String, SecureString, String) | Linux a macOS |
| ProcessStartInfo.UserName | Linux a macOS |
| ProcessStartInfo.PasswordInClearText | Linux a macOS |
| ProcessStartInfo.Domain | Linux a macOS |
| ProcessStartInfo.LoadUserProfile | Linux a macOS |
| ProcessThread.BasePriority (pouze nastavit) | Linux a macOS |
| ProcessThread.BasePriority (získat pouze) | macOS |
| ProcessThread.ProcessorAffinity (pouze nastavit) | Linux a macOS |
System.IO
| Člen | Platformy, které vyhazují |
|---|---|
| FileSystemInfo(SerializationInfo, StreamingContext) | Všechno |
| FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
System.IO.Pipes
| Člen | Platformy, které vyhazují |
|---|---|
| NamedPipeClientStream.NumberOfServerInstances | Linux a macOS |
| NamedPipeServerStream.GetImpersonationUserName() | Linux a macOS |
| PipeStream.InBufferSize | Linux a macOS |
| PipeStream.OutBufferSize | Linux a macOS |
| PipeStream.ReadMode (pouze nastavit) | Linux a macOS |
| PipeStream.WaitForPipeDrain() | Linux a macOS |
System.Media
| Člen | Platformy, které vyhazují |
|---|---|
| SoundPlayer(SerializationInfo, StreamingContext) | Všechno |
System.Net
* .NET 9 a novější verze.
System.Net.NetworkInformation
| Člen | Platformy, které vyhazují |
|---|---|
| Ping.Send | Windows (UPW) |
System.Net.Sockets
| Člen | Platformy, které vyhazují |
|---|---|
| Socket(SocketInformation) | Všechno |
| Socket.DuplicateAndClose(Int32) | Všechno |
System.Net.WebSockets
| Člen | Platformy, které vyhazují |
|---|---|
| WebSocket.RegisterPrefixes() | Všechno |
System.Reflection
| Člen | Platformy, které vyhazují |
|---|---|
| Assembly.CodeBase | Všechno |
| Assembly.EscapedCodeBase | Všechno |
| Assembly.LoadFrom(String, Byte[], AssemblyHashAlgorithm) | Všechno |
| Assembly.ReflectionOnlyLoad | Všechno |
| Assembly.ReflectionOnlyLoadFrom(String) | Všechno |
| AssemblyName.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
| AssemblyName.KeyPair | Všechno |
| AssemblyName.OnDeserialization(Object) | Všechno |
| StrongNameKeyPair | Všechno |
| StrongNameKeyPair.PublicKey | Všechno |
System.Runtime.CompilerServices
| Člen | Platformy, které vyhazují |
|---|---|
| DebugInfoGenerator.CreatePdbGenerator() | Všechno |
System.Runtime.InteropServices
| Člen | Platformy, které vyhazují |
|---|---|
| IDispatchImplAttribute | Všechno |
| Marshal.GetIDispatchForObject(Object) | Všechno |
| RuntimeEnvironment.SystemConfigurationFile | Všechno |
| RuntimeEnvironment.GetRuntimeInterfaceAsIntPtr(Guid, Guid) | Všechno |
| RuntimeEnvironment.GetRuntimeInterfaceAsObject(Guid, Guid) | Všechno |
| WindowsRuntimeMarshal.StringToHString(String) | Linux a macOS |
| WindowsRuntimeMarshal.PtrToStringHString(IntPtr) | Linux a macOS |
| WindowsRuntimeMarshal.FreeHString(IntPtr) | Linux a macOS |
System.Runtime.Serialization
| Člen | Platformy, které vyhazují |
|---|---|
| System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream, Object)* | Všechno |
| System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream, Object)† | Všechno |
| BinaryFormatter.Deserialize(Stream)† | Všechno |
| XsdDataContractExporter.Schemas | Všechno |
* .NET 9 a novější verze. † .NET 8 pouze pro všechny typy projektů kromě modelu Windows Forms a WPF.
System.Security
| Člen | Platformy, které vyhazují |
|---|---|
| CodeAccessPermission.Deny() | Všechno |
| CodeAccessPermission.PermitOnly() | Všechno |
| PermissionSet.ConvertPermissionSet(String, Byte[], String) | Všechno |
| PermissionSet.Deny() | Všechno |
| PermissionSet.PermitOnly() | Všechno |
| SecurityContext.Capture() | Všechno |
| SecurityContext.CreateCopy() | Všechno |
| SecurityContext.Dispose() | Všechno |
| SecurityContext.IsFlowSuppressed() | Všechno |
| SecurityContext.IsWindowsIdentityFlowSuppressed() | Všechno |
| SecurityContext.RestoreFlow() | Všechno |
| SecurityContext.Run(SecurityContext, ContextCallback, Object) | Všechno |
| SecurityContext.SuppressFlow() | Všechno |
| SecurityContext.SuppressFlowWindowsIdentity() | Všechno |
System.Security.Claims
| Člen | Platformy, které vyhazují |
|---|---|
| ClaimsPrincipal(SerializationInfo, StreamingContext) | Všechno |
| ClaimsPrincipal.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
| ClaimsIdentity(SerializationInfo) | Všechno |
| ClaimsIdentity(SerializationInfo, StreamingContext) | Všechno |
| ClaimsIdentity.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
System.Security.Cryptography
System.Security.Cryptography.Pkcs
| Člen | Platformy, které vyhazují |
|---|---|
| CmsSigner(CspParameters) | Všechno |
| SignerInfo.ComputeCounterSignature() | Všechno |
System.Security.Cryptography.X509Certificates
| Člen | Platformy, které vyhazují |
|---|---|
| X509Certificate(SerializationInfo, StreamingContext) | Všechno |
| X509Certificate.Import | Všechno |
| X509Certificate2(SerializationInfo, StreamingContext) | Všechno |
| X509Certificate2.PrivateKey (pouze nastavit) | Všechno |
System.Security.Authentication.RozšířenáOchrana
| Člen | Platformy, které vyhazují |
|---|---|
| ExtendedProtectionPolicy(SerializationInfo, StreamingContext) | Všechno |
System.Security.Policy
| Člen | Platformy, které vyhazují |
|---|---|
| Hash.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
System.ServiceProcess.ServiceController
| Člen | Platformy, které vyhazují |
|---|---|
| TimeoutException(SerializationInfo, StreamingContext) | Všechno |
System.Text.RegularExpressions
| Člen | Platformy, které vyhazují |
|---|---|
| Regex.CompileToAssembly | Všechno |
System.Threading
| Člen | Platformy, které vyhazují |
|---|---|
| CompressedStack.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
| ExecutionContext.GetObjectData(SerializationInfo, StreamingContext) | Všechno |
| Thread.Abort | Všechno |
| Thread.ResetAbort() | Všechno |
| Thread.Resume() | Všechno |
| Thread.Suspend() | Všechno |