Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
For more information, see DiagnosticSource User's Guide.
Initializes an instance of the DiagnosticSource class.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Verifies if the notification event is enabled.
|IsEnabled(String, Object, Object)||
Verifies it the notification event is enabled.
Creates a shallow copy of the current Object.(Inherited from Object)
Transfers state from an activity to some event or operation, such as an outgoing HTTP request, that will occur outside the process.
Transfers state to an activity from some event or operation, such as an incoming request, that occurred outside the process.
Starts an Activity and writes a start event.
Stops the given Activity, maintains the global Current activity, and notifies consumers that the Activity was stopped.
Returns a string that represents the current object.(Inherited from Object)
Provides a generic way of logging complex payloads.