ClerkInfo 类

定义

包含描述活动补偿资源管理器 (CRM) Clerk 对象的信息。Contains information describing an active Compensating Resource Manager (CRM) Clerk object.

public ref class ClerkInfo sealed
public sealed class ClerkInfo
type ClerkInfo = class
Public NotInheritable Class ClerkInfo
继承
ClerkInfo

属性

ActivityId

获取当前补偿资源管理器 (CRM) 运作器的活动 ID。Gets the activity ID of the current Compensating Resource Manager (CRM) Worker.

Clerk

获取当前 Clerk 的 IUnknownGets IUnknown for the current Clerk.

Compensator

获取当前 CRM Clerk 的补偿资源管理器 (CRM) 补偿器的 ProgId。Gets the ProgId of the Compensating Resource Manager (CRM) Compensator for the current CRM Clerk.

Description

获取当前 CRM Clerk 的补偿资源管理器 (CRM) 补偿器的说明。Gets the description of the Compensating Resource Manager (CRM) Compensator for the current CRM Clerk. 该说明字符串是由 ICrmLogControl::RegisterCompensator 方法提供的字符串。The description string is the string that was provided by the ICrmLogControl::RegisterCompensator method.

InstanceId

获取当前补偿资源管理器 (CRM) Clerk 的实例类 ID (CLSID)。Gets the instance class ID (CLSID) of the current Compensating Resource Manager (CRM) Clerk.

TransactionUOW

获取当前补偿资源管理器 (CRM) Clerk 的事务的工作单元 (UOW)。Gets the unit of work (UOW) of the transaction for the current Compensating Resource Manager (CRM) Clerk.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
Finalize()

在由垃圾回收器回收之前释放当前 ClerkInfo 的资源。Frees the resources of the current ClerkInfo before it is reclaimed by the garbage collector.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于