TaskAddBatchRequest Constructor

Definition

Initializes a new instance of the TaskAddBatchRequest class.

public TaskAddBatchRequest (Microsoft.Azure.Batch.Protocol.BatchServiceClient serviceClient, Microsoft.Azure.Batch.Protocol.Models.TaskAddParameter parameters, System.Threading.CancellationToken cancellationToken);
new Microsoft.Azure.Batch.Protocol.BatchRequests.TaskAddBatchRequest : Microsoft.Azure.Batch.Protocol.BatchServiceClient * Microsoft.Azure.Batch.Protocol.Models.TaskAddParameter * System.Threading.CancellationToken -> Microsoft.Azure.Batch.Protocol.BatchRequests.TaskAddBatchRequest
Public Sub New (serviceClient As BatchServiceClient, parameters As TaskAddParameter, cancellationToken As CancellationToken)

Parameters

serviceClient
BatchServiceClient

The service client to use.

parameters
TaskAddParameter

The parameters to use.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Applies to