Editar

Partilhar via


TrackingWorkflowEvent Enum

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Specifies a type of workflow status event.

public enum class TrackingWorkflowEvent
[System.Serializable]
public enum TrackingWorkflowEvent
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum TrackingWorkflowEvent
[<System.Serializable>]
type TrackingWorkflowEvent = 
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type TrackingWorkflowEvent = 
Public Enum TrackingWorkflowEvent
Inheritance
TrackingWorkflowEvent
Attributes

Fields

Name Value Description
Created 0

The workflow instance has been created.

Completed 1

The workflow instance has completed.

Idle 2

The workflow instance is idle.

Suspended 3

The workflow instance has been suspended.

Resumed 4

A previously suspended workflow instance has resumed running.

Persisted 5

The workflow instance has been persisted.

Unloaded 6

The workflow instance has been unloaded from memory.

Loaded 7

The workflow instance has been loaded into memory.

Exception 8

An unhandled exception has occurred.

Terminated 9

The workflow instance has been terminated.

Aborted 10

The workflow instance has aborted.

Changed 11

A workflow change has occurred on the workflow instance.

Started 12

The workflow instance has been started.

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

A workflow instance can pass through several states during the course of its execution. For example, a workflow instance may become idle, or it may be suspended. Every time the workflow instance changes state, it emits a workflow status event to the runtime tracking infrastructure. TrackingWorkflowEvent enumerates the possible types of workflow status event.

Applies to