Share via


CreateTasksOptions Class

Definition

Stores options that configure the operation of methods on Batch client parallel operations.

public class CreateTasksOptions
type CreateTasksOptions = class
Public Class CreateTasksOptions
Inheritance
CreateTasksOptions

Constructors

CreateTasksOptions(Int32, Int32, ICreateTaskResultHandler, Boolean)

Initializes a new instance of the CreateTasksOptions class.

Properties

CreateTaskResultHandler

The handler which processes the results of the AddTaskCollection request. If this is null, the default is used.

MaxDegreeOfParallelism

Gets or sets the maximum number of concurrent tasks enabled by this CreateTasksOptions instance. The default value is 1.

MaxTimeBetweenCallsInSeconds

Gets or sets the maximum time between calls in seconds. This can be used to throttle the number of calls made to the Batch service.

ReturnBatchTaskAddResults

Gets or sets a value indicating whether to return the list of BatchTaskAddResult from the CreateTasks and CreateTasksAsync methods. Default is false.

Applies to