1
0
mirror of synced 2025-12-19 18:06:02 -05:00
Files
core/release-notes/10.0/api-diff/Microsoft.WindowsDesktop.App/10.0.0_Microsoft.Win32.SystemEvents.md
Pranav Senthilnathan bbe69a494d API Diff .NET 9.0 -> 10.0 (#10147)
* API Diff .NET 9.0 -> 10.0

* Remove System.Threading.AccessControl from notes

* Move files up one level
2025-12-02 15:35:35 -08:00

460 B

Microsoft.Win32.SystemEvents

  namespace Microsoft.Win32
  {
      public sealed class SystemEvents
      {
+         [System.ObsoleteAttribute("SystemEvents.EventsThreadShutdown callbacks are not run before the process exits. Use AppDomain.ProcessExit instead.", DiagnosticId = "SYSLIB0059", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
          public static event System.EventHandler? EventsThreadShutdown { add; remove; }
      }
  }