SqlClientTraceInstrumentationOptionsRecordException - свойство

Gets or sets a value indicating whether the exception will be recorded as ActivityEvent or not. Default value: .

Definition

Пространство имён: Tessa.Web.OpenTelemetry.SqlClient
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public bool RecordException { get; set; }

Значение свойства

Boolean

Заметки

RecordException is only supported on .NET and .NET Core runtimes.

For specification details see: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/exceptions/exceptions-spans.md.

См. также