StartTask Class

Definition

A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.

public class StartTask
Inheritance
StartTask

Constructors

StartTask()
StartTask(String)

Initializes a new instance of the StartTask class.

Properties

CommandLine

Gets or sets the command line of the task.

EnvironmentSettings

Gets or sets a set of environment settings for the start task.

MaxTaskRetryCount

Gets or sets the maximum number of retries for the task.

ResourceFiles

Gets or sets a list of files that the Batch service will download to the compute node before running the command line.

UserIdentity

Gets or sets the user identity under which the task runs.

WaitForSuccess

Gets or sets a value indicating whether the Batch service should wait for the start task to complete before scheduling any tasks on the compute node.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)