ActivitySource(String, String) Constructor

Definition

Constructs an activity source object with the specified name.

public ActivitySource (string name, string? version = "");
new System.Diagnostics.ActivitySource : string * string -> System.Diagnostics.ActivitySource
Public Sub New (name As String, Optional version As String = "")

Parameters

name
String

The name of the activity source object.

version
String

The version of the component publishing the tracing info.

Applies to