net10.0
namespace System.Diagnostics
{
    public abstract class DiagnosticSource
    {
        [RequiresUnreferencedCode("Only the properties of the T type will be preserved. Properties of referenced types and properties of derived types may be trimmed.")]
        public Activity! StartActivity<T>(Activity! activity, T args);
    }
}
nuget.org
0.0 %
Reference this API
Design Reviews
.NET
8.09.010.0
.NET Framework
4.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

System.Diagnostics.DiagnosticSource , Version=10.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API