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

CloseTransactionExpressionModel<T> Structure

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 informatino.

Namespace:  PostSharp.Patterns.Diagnostics.Transactions.Model
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: (
public readonly struct CloseTransactionExpressionModel<T> : IFormattable

Type Parameters

Type of the model exposed by the request. See Request.

The CloseTransactionExpressionModel<T> type exposes the following members.

Public propertyCriticalCount
Returns CriticalCount.
Public propertyErrorCount
Returns ErrorCount.
Public propertyExecutionTime
Returns ExecutionTime.
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 LoggingActionFilter, this property is of type AspNetCoreRequestExpressionModel.
Public propertyWarningCount
Returns WarningCount.
See Also