PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions.​Model Namespace / Open­Transaction­Expression­Model(T) Structure / Open­Transaction­Expression­Model(T) Properties

OpenTransactionExpressionModel<T> Properties

The OpenTransactionExpressionModel<T> generic type exposes the following members.

Properties
  NameDescription
Public propertyIsParentSampled
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).
Public propertyKind
Gets the kind of activity.
Public propertyLevel
Gets the LogLevel with which the transaction was opened.
Public propertyRequest
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.
See Also