Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Diagnostics
  3. Trace
  4. Refreshing
  • Trace
    • AutoFlush
    • CorrelationManager
    • IndentLevel
    • IndentSize
    • Listeners
    • UseGlobalLock
    • Assert(Boolean)
    • Assert(Boolean, String)
    • Assert(Boolean, String, String)
    • Close()
    • Fail(String)
    • Fail(String, String)
    • Flush()
    • Indent()
    • Refresh()
    • TraceError(String)
    • TraceError(String, Object[])
    • TraceInformation(String)
    • TraceInformation(String, Object[])
    • TraceWarning(String)
    • TraceWarning(String, Object[])
    • Unindent()
    • Write(Object)
    • Write(String)
    • Write(Object, String)
    • Write(String, String)
    • WriteIf(Boolean, Object)
    • WriteIf(Boolean, String)
    • WriteIf(Boolean, Object, String)
    • WriteIf(Boolean, String, String)
    • WriteLine(Object)
    • WriteLine(String)
    • WriteLine(Object, String)
    • WriteLine(String, String)
    • WriteLineIf(Boolean, Object)
    • WriteLineIf(Boolean, String)
    • WriteLineIf(Boolean, Object, String)
    • WriteLineIf(Boolean, String, String)
    • Refreshing
net9.0
namespace System.Diagnostics
{
    public sealed class Trace
    {
        public static event EventHandler? Refreshing;
    }
}
Design Reviews
  • dotnet/runtime#72967 4 years ago (Approved)
.NET
7.08.09.0
Information specific to net9.0
Assembly

System.Diagnostics.TraceSource , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

The event adder is supported on all platforms.

The event remover is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

10/25/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙