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 4.5
 
A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

Inheritance Hierarchy

System.Object
  Amazon.SimpleWorkflow.Model.DecisionTask

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

Syntax

C#
public class DecisionTask : Object

The DecisionTask type exposes the following members

Constructors

NameDescription
Public Method DecisionTask()

Properties

NameTypeDescription
Public Property Events System.Collections.Generic.List<Amazon.SimpleWorkflow.Model.HistoryEvent> Gets and sets the property Events.

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

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

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

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

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

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

The ID of the DecisionTaskStarted 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 for which this decision task was created.

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

The type of the workflow execution for which this decision task was created.

Version Information

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

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