Aracılığıyla paylaş


.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

Ü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.Compiler

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

System.Collections.Specialized

Ü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ü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

Ü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ü

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

Ü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.Claims

Ü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 Oluşturan platformlar
AsymmetricAlgorithm.Create(String) Tümünü
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ünü
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
ECDiffieHellmanCng.FromXmlString(String, ECKeyXmlFormat) Tümü
ECDiffieHellmanCng.ToXmlString(ECKeyXmlFormat) Tümü
ECDiffieHellmanCngPublicKey.FromXmlString(String) Tümü
ECDiffieHellmanCngPublicKey.ToXmlString() Tümü
ECDiffieHellmanPublicKey.ToByteArray() Linux ve macOS
ECDiffieHellmanPublicKey.ToXmlString() Tümü
ECDsaCng.FromXmlString(String, ECKeyXmlFormat) Tümü
ECDsaCng.ToXmlString(ECKeyXmlFormat) Tümü
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
System.Security.Cryptography.RSACryptoServiceProvider.DecryptValue(Byte[]) Tümü
System.Security.Cryptography.RSACryptoServiceProvider.EncryptValue(Byte[]) Tümü
System.Security.Cryptography.RSA.DecryptValue(Byte[]) Tümü
System.Security.Cryptography.RSA.EncryptValue(Byte[]) Tümü
RSA.FromXmlString Tümü
RSA.ToXmlString Tümü
SymmetricAlgorithm.Create() Tümü
SymmetricAlgorithm.Create(String) Tümü

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

Üye Oluşturan 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.