A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.diagnosticsource below:

DiagnosticSource Class (System.Diagnostics) | Microsoft Learn

DiagnosticSource Class Definition

An abstract class that allows code to be instrumented for production-time logging of rich data payloads for consumption within the process that was instrumented.

public ref class DiagnosticSource abstract
public abstract class DiagnosticSource
type DiagnosticSource = class
Public MustInherit Class DiagnosticSource
Inheritance
Derived

For more information, see DiagnosticSource User's Guide.

Constructors Methods Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object) GetHashCode()

Serves as the default hash function.

(Inherited from Object) GetType()

Gets the Type of the current instance.

(Inherited from Object) IsEnabled(String, Object, Object)

Verifies it the notification event is enabled.

IsEnabled(String)

Verifies if the notification event is enabled.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object) OnActivityExport(Activity, Object)

Transfers state from an activity to some event or operation, such as an outgoing HTTP request, that will occur outside the process.

OnActivityImport(Activity, Object)

Transfers state to an activity from some event or operation, such as an incoming request, that occurred outside the process.

StartActivity(Activity, Object)

Starts an Activity and writes a start event.

StartActivity<T>(Activity, T) StopActivity(Activity, Object)

Stops the given Activity, maintains the global Current activity, and notifies consumers that the Activity was stopped.

StopActivity<T>(Activity, T) ToString()

Returns a string that represents the current object.

(Inherited from Object) Write(String, Object)

Provides a generic way of logging complex payloads.

Write<T>(String, T)

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4