Unit of work sent to an activity worker.
Declaration Syntax
C# |
public class ActivityTask
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
ActivityTask()()()() | Initializes a new instance of the ActivityTask class | |
ActivityId |
The unique ID of the task.
Constraints: | |
ActivityType |
The type of this activity task.
| |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
Input |
The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity
implementation.
Constraints: | |
StartedEventId |
The id of the ActivityTaskStarted event recorded in the history.
| |
TaskToken |
The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the
system about the task.
Constraints: | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithActivityId(String) | Obsolete.
Sets the ActivityId property
| |
WithActivityType(ActivityType) | Obsolete.
Sets the ActivityType property
| |
WithInput(String) | Obsolete.
Sets the Input property
| |
WithStartedEventId(Int64) | Obsolete.
Sets the StartedEventId property
| |
WithTaskToken(String) | Obsolete.
Sets the TaskToken property
| |
WithWorkflowExecution(WorkflowExecution) | Obsolete.
Sets the WorkflowExecution property
| |
WorkflowExecution |
The workflow execution that started this activity task.
|
Inheritance Hierarchy
Object | |
ActivityTask |