AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
Unit of work sent to an activity worker.

Inheritance Hierarchy


Namespace: Amazon.SimpleWorkflow.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class ActivityTask : Object

The ActivityTask type exposes the following members


Public Method ActivityTask()


Public Property ActivityId System.String Gets and sets the property ActivityId.

The unique ID of the task.

Public Property ActivityType Amazon.SimpleWorkflow.Model.ActivityType Gets and sets the property ActivityType.

The type of this activity task.

Public Property Input System.String Gets and sets the property 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.

Public Property StartedEventId System.Int64 Gets and sets the property StartedEventId.

The ID of the ActivityTaskStarted event recorded in the history.

Public Property TaskToken System.String Gets and sets the property 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.

Public Property WorkflowExecution Amazon.SimpleWorkflow.Model.WorkflowExecution Gets and sets the property WorkflowExecution.

The workflow execution that started this activity task.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8