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
 
Container for the parameters to the SetTaskStatus operation. Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status. A task runner makes this call regardless of whether the task was sucessful. A task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DataPipeline.AmazonDataPipelineRequest
      Amazon.DataPipeline.Model.SetTaskStatusRequest

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

Syntax

C#
public class SetTaskStatusRequest : AmazonDataPipelineRequest
         IRequestEvents

The SetTaskStatusRequest type exposes the following members

Constructors

NameDescription
Public Method SetTaskStatusRequest()

Properties

NameTypeDescription
Public Property ErrorId System.String Gets and sets the property ErrorId.

If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string "Service_" which is reserved by the system.

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

If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.

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

If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.

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

The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.

Public Property TaskStatus Amazon.DataPipeline.TaskStatus Gets and sets the property TaskStatus.

If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully. Preconditions use false.

Version Information

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

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