ClerkMonitor 类

定义

包含进程中所有处于活动状态的 Clerk 的快照。Contains a snapshot of all Clerks active in the process.

public ref class ClerkMonitor sealed : System::Collections::IEnumerable
public sealed class ClerkMonitor : System.Collections.IEnumerable
type ClerkMonitor = class
    interface IEnumerable
Public NotInheritable Class ClerkMonitor
Implements IEnumerable
继承
ClerkMonitor
实现

注解

补偿资源管理器 (CRM) 监视器可用于检查在当前过程中执行事务恢复的活动分配器的列表。The Compensating Resource Manager (CRM) Monitor can be used to examine the list of active Clerks performing transaction recovery in the current process.

构造函数

ClerkMonitor()

初始化 ClerkMonitor 类的新实例。Initializes a new instance of the ClerkMonitor class.

属性

Count

获取补偿资源管理器 (CRM) 监视器集合中 Clerk 监视器的计数。Gets the count of the Clerk monitors in the Compensating Resource Manager (CRM) monitor collection.

Item[Int32]

获取此 ClerkInfoClerkMonitor 对象。Gets the ClerkInfo object for this ClerkMonitor.

Item[String]

获取此 ClerkInfoClerkMonitor 对象。Gets the ClerkInfo object for this ClerkMonitor.

方法

Equals(Object)

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

(继承自 Object)
Finalize()

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

GetEnumerator()

返回补偿资源管理器 (CRM) 监视器集合中 Clerk 的枚举。Returns the enumeration of the clerks in the Compensating Resource Manager (CRM) monitor collection.

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)
Populate()

获取 Clerk 集合对象,该对象是 Clerk 的当前状态的快照。Gets the Clerks collection object, which is a snapshot of the current state of the Clerks.

ToString()

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

(继承自 Object)

扩展方法

Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于