ClerkMonitor ClerkMonitor ClerkMonitor ClerkMonitor Class


包含进程中所有处于活动状态的 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


补偿资源管理器 (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() ClerkMonitor() ClerkMonitor()

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


Count Count Count Count

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

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

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

Item[String] Item[String] Item[String] Item[String]

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


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

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

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
Populate() Populate() Populate() Populate()

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

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)


Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

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

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.