8 references to ActivitySourceOptions
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\ActivitySource.cs (3)
40
/// Initialize a new instance of the ActivitySource object using the <see cref="
ActivitySourceOptions
" />.
42
/// <param name="options">The <see cref="
ActivitySourceOptions
" /> object to use for initializing the ActivitySource object.</param>
43
public ActivitySource(
ActivitySourceOptions
options) : this((options ?? throw new ArgumentNullException(nameof(options))).Name, options.Version, options.Tags, options.TelemetrySchemaUrl) {}
System\Diagnostics\ActivitySourceOptions.cs (5)
16
/// Constructs a new instance of <see cref="
ActivitySourceOptions
"/>.
18
/// <param name="name">The name of the <see cref="
ActivitySourceOptions
"/> object</param>
25
/// Get or set the <see cref="
ActivitySourceOptions
"/> object name. Cannot be null.
34
/// The optional <see cref="
ActivitySourceOptions
"/> version. Defaulted to empty string.
39
/// The optional list of key-value pair tags associated with the <see cref="
ActivitySourceOptions
"/>.