Assembly: PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 2023.0.3.0 (2023.0.3.0)
public readonly struct OpenTransactionExpressionModel<T> : IFormattable
- Type of the model exposed by the request. See Request.
Thetype exposes the following members.
Determines whether the parent request was logged as a result of sampling, i.e. it was logged by a policy that had a sampling clause. It corresponds to the sampled flag of the W3C Trace Context specification (https://www.w3.org/TR/trace-context/#sampled-flag).
Gets the kind of activity.
Gets the LogLevel with which the transaction was opened.
Gets the model of the request that causes the transaction to be opened. The type depends on the kind of transaction. For the ASP.NET Core, this property is of type AspNetCoreRequestExpressionModel and for the legacy ASP.NET, it is AspNetFrameworkRequestExpressionModel.