กิจกรรม
17 มี.ค. 21 - 21 มี.ค. 10
สร้างแอป AI และตัวแทน เข้าร่วมชุด meetup เพื่อสร้างโซลูชัน AI ที่ปรับขนาดได้ตามกรณีการใช้งานจริงกับนักพัฒนาและผู้เชี่ยวชาญร่วมกัน
ลงทะเบียนตอนนี้เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
The following APIs will always throw an exception on .NET (Core) on all or a subset of platforms. In most cases, the exception that's thrown is PlatformNotSupportedException.
This article organizes the affected APIs by namespace.
หมายเหตุ
Member | Platforms that throw |
---|---|
CodeDomProvider.CompileAssemblyFromDom | All |
CodeDomProvider.CompileAssemblyFromFile | All |
CodeDomProvider.CompileAssemblyFromSource | All |
Member | Platforms that throw |
---|---|
System.Configuration.RsaProtectedConfigurationProvider (all members) | All |
Member | Platforms that throw |
---|---|
Console.Beep() | Linux and macOS |
Console.BufferHeight (set only) | Linux and macOS |
Console.BufferWidth (set only) | Linux and macOS |
Console.CursorSize (set only) | Linux and macOS |
Console.CursorVisible (get only) | Linux and macOS |
Console.MoveBufferArea | Linux and macOS |
Console.SetWindowPosition | Linux and macOS |
Console.SetWindowSize | Linux and macOS |
Console.Title (get only) | Linux and macOS |
Console.WindowHeight (set only) | Linux and macOS |
Console.WindowLeft (set only) | Linux and macOS |
Console.WindowTop (set only) | Linux and macOS |
Console.WindowWidth (set only) | Linux and macOS |
Member | Platforms that throw |
---|---|
DbDataReader.GetSchemaTable (throws NotSupportedException) | All |
Member | Platforms that throw |
---|---|
Process.MaxWorkingSet (set only) | Linux |
Process.MinWorkingSet (set only) | Linux |
Process.ProcessorAffinity | macOS |
Process.MainWindowHandle | Linux and macOS |
Process.Start(String, String, String, SecureString, String) | Linux and macOS |
Process.Start(String, String, SecureString, String) | Linux and macOS |
ProcessStartInfo.UserName | Linux and macOS |
ProcessStartInfo.PasswordInClearText | Linux and macOS |
ProcessStartInfo.Domain | Linux and macOS |
ProcessStartInfo.LoadUserProfile | Linux and macOS |
ProcessThread.BasePriority (set only) | Linux and macOS |
ProcessThread.BasePriority (get only) | macOS |
ProcessThread.ProcessorAffinity (set only) | Linux and macOS |
Member | Platforms that throw |
---|---|
FileSystemInfo(SerializationInfo, StreamingContext) | All |
FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext) | All |
Member | Platforms that throw |
---|---|
NamedPipeClientStream.NumberOfServerInstances | Linux and macOS |
NamedPipeServerStream.GetImpersonationUserName() | Linux and macOS |
PipeStream.InBufferSize | Linux and macOS |
PipeStream.OutBufferSize | Linux and macOS |
PipeStream.ReadMode (set only) | Linux and macOS |
PipeStream.WaitForPipeDrain() | Linux and macOS |
Member | Platforms that throw |
---|---|
SoundPlayer(SerializationInfo, StreamingContext) | All |
* .NET 9 and later versions.
Member | Platforms that throw |
---|---|
Ping.Send | Windows (UWP) |
Member | Platforms that throw |
---|---|
Socket(SocketInformation) | All |
Socket.DuplicateAndClose(Int32) | All |
Member | Platforms that throw |
---|---|
WebSocket.RegisterPrefixes() | All |
Member | Platforms that throw |
---|---|
DebugInfoGenerator.CreatePdbGenerator() | All |
Member | Platforms that throw |
---|---|
IDispatchImplAttribute | All |
Marshal.GetIDispatchForObject(Object) | All |
RuntimeEnvironment.SystemConfigurationFile | All |
RuntimeEnvironment.GetRuntimeInterfaceAsIntPtr(Guid, Guid) | All |
RuntimeEnvironment.GetRuntimeInterfaceAsObject(Guid, Guid) | All |
WindowsRuntimeMarshal.StringToHString(String) | Linux and macOS |
WindowsRuntimeMarshal.PtrToStringHString(IntPtr) | Linux and macOS |
WindowsRuntimeMarshal.FreeHString(IntPtr) | Linux and macOS |
* .NET 9 and later versions. † .NET 8 only for all project types except Windows Forms and WPF.
Member | Platforms that throw |
---|---|
CmsSigner(CspParameters) | All |
SignerInfo.ComputeCounterSignature() | All |
Member | Platforms that throw |
---|---|
X509Certificate(SerializationInfo, StreamingContext) | All |
X509Certificate.Import | All |
X509Certificate2(SerializationInfo, StreamingContext) | All |
X509Certificate2.PrivateKey (set only) | All |
Member | Platforms that throw |
---|---|
ExtendedProtectionPolicy(SerializationInfo, StreamingContext) | All |
Member | Platforms that throw |
---|---|
Hash.GetObjectData(SerializationInfo, StreamingContext) | All |
Member | Platforms that throw |
---|---|
TimeoutException(SerializationInfo, StreamingContext) | All |
Member | Platforms that throw |
---|---|
Regex.CompileToAssembly | All |
Member | Platforms that throw |
---|---|
CompressedStack.GetObjectData(SerializationInfo, StreamingContext) | All |
ExecutionContext.GetObjectData(SerializationInfo, StreamingContext) | All |
Thread.Abort | All |
Thread.ResetAbort() | All |
Thread.Resume() | All |
Thread.Suspend() | All |
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม:
กิจกรรม
17 มี.ค. 21 - 21 มี.ค. 10
สร้างแอป AI และตัวแทน เข้าร่วมชุด meetup เพื่อสร้างโซลูชัน AI ที่ปรับขนาดได้ตามกรณีการใช้งานจริงกับนักพัฒนาและผู้เชี่ยวชาญร่วมกัน
ลงทะเบียนตอนนี้