Open sandboxFocus

Struct CloseTransactionExpressionModel<T>

Type of the t parameter for the publishIf expression in the policy configuration file. It represents information from the transaction that a policy can use to take an action when the transaction closes. The policy might decide to publish the log file based on this information.

Implements
Namespace: PostSharp.Patterns.Diagnostics.Transactions.Model
Assembly: PostSharp.Patterns.Diagnostics.Configuration.dll
Syntax
public readonly struct CloseTransactionExpressionModel<T> : IFormattable
Type Parameters
Name Description
T

The type of the model exposed by the request. See Request.

Properties

Name Description
CriticalCount

Gets the value of CriticalCount.

ErrorCount

Gets the value of ErrorCount.

ExecutionTime

Gets the value of ExecutionTime.

Request

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 LoggingActionFilter, this property is of type AspNetCoreRequestExpressionModel.

WarningCount

Gets the value of WarningCount.