DiagnosticScope
public void AddLink(string traceparent, string tracestate, IDictionary<string, object> attributes = null)
Adds a link to the scope. This must be called before Start has been called for the DiagnosticScope.
Marks the scope as failed.
Marks the scope as failed with low-cardinality error.type attribute.
Sets the trace context for the current scope.