你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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