System.Activities.Tracking 命名空间

System.Activities.Tracking 命名空间包含用于创建工作流跟踪记录并与之交互的类。 The System.Activities.Tracking namespace contains classes used to create and interact with workflow tracking records. 跟踪记录由工作流运行时在工作流实例执行时创建,并由继承自 TrackingParticipant 的类访问。 Tracking records are created by the workflow runtime when a workflow instance executes, and are accessed by classes that inherit from TrackingParticipant.

ActivityInfo

包含有关跟踪的 Activity 的信息。Contains information on a tracked Activity.

ActivityScheduledQuery

添加到 Queries 集合时,当创建了跟踪配置文件来订阅跟踪记录时订阅已安排活动记录。When added to the Queries collection, subscribes to activity scheduled records when the tracking profile is created to subscribe to tracking records.

ActivityScheduledRecord

表示所安排执行的活动的跟踪记录。Represents a tracking record of an activity being scheduled for execution.

ActivityStateQuery

当添加到 Queries 时,订阅活动状态记录。When added to the Queries, subscribes to activity state records.

ActivityStateRecord

表示在活动更改状态时创建的跟踪记录。Represents a tracking record that is created when an activity changes state.

ActivityStates

指定活动的状态。Specifies the state of an activity.

BookmarkResumptionQuery

添加到 Queries 集合时,当查询跟踪配置文件来搜索 TrackingRecord 对象时订阅书签恢复记录。When added to the Queries collection, subscribes to bookmark resumption records when the tracking profile is queried for TrackingRecord objects.

BookmarkResumptionRecord

包含运行时跟踪基础结构在恢复 Bookmark 时发送给跟踪参与者的数据。Contains the data sent to a tracking participant by the run-time tracking infrastructure when a Bookmark is resumed.

CancelRequestedQuery

添加到 Queries 集合时,当查询跟踪配置文件来搜索跟踪记录时订阅取消请求记录。When added to the Queries collection, subscribes to cancellation request records when the tracking profile is queried for tracking records.

CancelRequestedRecord

表示在调用 CancelChild(ActivityInstance)CancelChildren() 时由工作流运行时发送给跟踪参与者的数据。Represents the data sent by the workflow runtime to tracking participants when CancelChild(ActivityInstance) or CancelChildren() is called.

CustomTrackingQuery

添加到 Queries 时,当查询跟踪配置文件来搜索自定义记录时订阅自定义跟踪记录。When added to the Queries, subscribes to custom tracking records when the tracking profile is queried for custom records.

CustomTrackingRecord

包含由运行时跟踪基础结构在引发自定义跟踪记录时发送到跟踪参与者的数据。Contains the data sent to a tracking participant by the run-time tracking infrastructure when a custom tracking record is raised.

EtwTrackingParticipant

工作流跟踪数据的使用者,它将向包含跟踪记录中的数据的 ETW 会话发出 Windows 事件跟踪 (ETW) 事件。A consumer of workflow tracking data that emits an Event Tracking for Windows (ETW) event to an ETW session that contains the data from the tracking record.

FaultPropagationQuery

添加到 Queries 集合时,当查询跟踪配置文件来搜索跟踪记录时订阅错误传播记录。When added to the Queries collection, subscribes to fault propagation records when the tracking profile is queried for tracking records.

FaultPropagationRecord

包含在从工作流活动中传播错误时运行时跟踪基础结构发送给跟踪参与者的数据。Contains the data sent to a tracking participant by the run-time tracking infrastructure when a fault is propagated from a workflow activity.

InteropTrackingRecord

表示当工作流内的 Interop 活动中出现跟踪记录时发送给跟踪参与者的数据。Represents the data sent to tracking participants when tracked records occur in an Interop activity within a workflow.

TrackingParticipant

与工作流跟踪基础结构交互并访问跟踪记录的工作流扩展的基类。The base class for workflow extensions that interact with the workflow tracking infrastructure and access tracking records.

TrackingProfile

TrackingParticipant 中创建工作流跟踪记录订阅。Creates a subscription to workflow tracking records in a TrackingParticipant.

TrackingQuery

所有跟踪查询的基类。The base class for all tracking queries. 用于为 TrackingProfile 创建订阅定义的跟踪查询。Tracking queries are used to create a subscription definition for a TrackingProfile.

TrackingRecord

所有工作流跟踪记录均派生自其中的抽象类。The abstract class from which all workflow tracking records derive. 跟踪记录表示在跟踪的事件发生时发送到跟踪参与者的数据。Tracking records represent the data sent to tracking participants when tracked events occur.

WorkflowInstanceAbortedRecord

包含运行时跟踪基础结构在工作流实例中止时发送给跟踪参与者的数据。Contains the data sent to a tracking participant by the run-time tracking infrastructure when a workflow instance is aborted.

WorkflowInstanceQuery

添加到 Queries 集合时,当创建了跟踪配置文件来订阅跟踪记录时订阅工作流实例记录。When added to the Queries collection, subscribes to workflow instance records when the tracking profile is created to subscribe to tracking records.

WorkflowInstanceRecord

包含运行时跟踪基础结构在工作流实例更改状态时发送给跟踪服务的数据。Contains the data sent to a tracking service by the run-time tracking infrastructure when a workflow instance changes state.

WorkflowInstanceStates

指定工作流实例的状态。Specifies the state of a workflow instance.

WorkflowInstanceSuspendedRecord

包含运行时跟踪基础结构在工作流实例挂起时发送给跟踪参与者的数据。Contains the data sent to a tracking participant by the run-time tracking infrastructure when a workflow instance is suspended.

WorkflowInstanceTerminatedRecord

包含运行时跟踪基础结构在工作流终止时发送给跟踪参与者的数据。Contains the data sent to a tracking participant by the run-time tracking infrastructure when a workflow is terminated.

WorkflowInstanceUnhandledExceptionRecord

包含运行时跟踪基础结构在工作流实例遇到未经处理的异常时发送给跟踪参与者的数据。Contains the data sent to a tracking participant by the run-time tracking infrastructure when a workflow instance encounters an unhandled exception.

WorkflowInstanceUpdatedRecord

指定有关更新记录的信息。Specifies information about an updated record.

枚举

ImplementationVisibility

描述跟踪配置文件内的可见性模式。Describes the visibility modes within a tracking profile.