AWS SDK for .NET Documentation
ActivityTask Class
AmazonAmazon.SimpleWorkflow.ModelActivityTask Did this page help you?   Yes   No    Tell us about it...

Unit of work sent to an activity worker.

Declaration Syntax
C#
public class ActivityTask
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ActivityTask()()()()
Initializes a new instance of the ActivityTask class

ActivityId
The unique ID of the task.

Constraints:

Length
1 - 256


ActivityType
The type of this activity task.

Equals(Object)
Determines whether the specified Object is equal to the current 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:

Length
0 - 32768


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:

Length
1 - 1024


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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)