Partager via


ASRTask Class

Definition

Task of the Job.

public class ASRTask
type ASRTask = class
Public Class ASRTask
Inheritance
ASRTask

Constructors

ASRTask()

Initializes a new instance of the ASRTask class.

ASRTask(String, String, Nullable<DateTime>, Nullable<DateTime>, IList<String>, String, String, String, String, TaskTypeDetails, GroupTaskDetails, IList<JobErrorDetails>)

Initializes a new instance of the ASRTask class.

Properties

AllowedActions

Gets or sets the state/actions applicable on this task.

CustomDetails

Gets or sets the custom task details based on the task type.

EndTime

Gets or sets the end time.

Errors

Gets or sets the task error details.

FriendlyName

Gets or sets the name.

GroupTaskCustomDetails

Gets or sets the custom task details based on the task type, if the task type is GroupTaskDetails or one of the types derived from it.

Name

Gets or sets the unique Task name.

StartTime

Gets or sets the start time.

State

Gets or sets the State. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.

StateDescription

Gets or sets the description of the task state. For example - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.

TaskId

Gets or sets the Id.

TaskType

Gets or sets the type of task. Details in CustomDetails property depend on this type.

Applies to