PendingTransactionState<TState> 类

定义

[Orleans.Concurrency.Immutable]
[System.Serializable]
public class PendingTransactionState<TState> where TState : class, new()
[System.Serializable]
[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class PendingTransactionState<TState> where TState : class, new()
[<Orleans.Concurrency.Immutable>]
[<System.Serializable>]
type PendingTransactionState<'State (requires 'State : null and 'State : (new : unit -> 'State))> = class
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
type PendingTransactionState<'State (requires 'State : null and 'State : (new : unit -> 'State))> = class
Public Class PendingTransactionState(Of TState)
Public NotInheritable Class PendingTransactionState(Of TState)

类型参数

TState
继承
PendingTransactionState<TState>
属性

构造函数

PendingTransactionState<TState>()

属性

SequenceId

事务被赋予密集的本地序列号 1,2,3,4...如果新事务准备的序列号与以前准备的事务相同,则它将替换它。

State

执行此事务后状态的快照

TimeStamp

事务的逻辑时间戳。 时间戳保证单调递增。

TransactionId

事务的全局唯一标识符。

TransactionManager

知道此已准备事务的状态的事务管理器;如果这是事务管理器,则为 null。 在恢复期间用于查询事务的命运。

适用于