TransactionManagerExtension 类

定义

public class TransactionManagerExtension : Orleans.Runtime.IGrainExtension, Orleans.Transactions.Abstractions.ITransactionManagerExtension
type TransactionManagerExtension = class
    interface ITransactionManagerExtension
    interface IGrainExtension
    interface IAddressable
Public Class TransactionManagerExtension
Implements IGrainExtension, ITransactionManagerExtension
继承
TransactionManagerExtension
实现

构造函数

TransactionManagerExtension(IGrainActivationContext)
TransactionManagerExtension(IGrainContextAccessor)

方法

Ping(String, Guid, DateTime, ParticipantId)
PrepareAndCommit(String, Guid, AccessCounter, DateTime, List<ParticipantId>, Int32)
Prepared(String, Guid, DateTime, ParticipantId, TransactionalStatus)

扩展方法

AsReference(IAddressable, Type)

返回对提供的 grain 的类型化引用。

AsReference<TGrainInterface>(IAddressable)

返回对提供的 grain 的类型化引用。

BindGrainReference(IAddressable, IGrainFactory)

将 grain 引用绑定到提供的 IGrainFactory

Cast(IAddressable, Type)

返回对提供的 grain 的类型化引用。

Cast<TGrainInterface>(IAddressable)

返回对提供的 grain 的类型化引用。

GetGrainId(IAddressable)

返回与提供的 grain 对应的 grain ID。

GetPrimaryKey(IAddressable)

返回 Guid grain 主键的表示形式。

GetPrimaryKey(IAddressable, String)

返回 Guid grain 主键的表示形式。

GetPrimaryKeyLong(IAddressable)

返回 long grain 主键的表示形式。

GetPrimaryKeyLong(IAddressable, String)

返回 long grain 主键的表示形式。

GetPrimaryKeyString(IAddressable)

返回 string grain 的主键。

IsPrimaryKeyBasedOnLong(IAddressable)

返回主键的一部分是否为 类型 long

适用于