AWS SDK Version 3 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.

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.SimpleWorkflow.dll
Version: 3.x.y.z

Syntax

C#
public class DecisionTask

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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms