Sdílet prostřednictvím


AddTaskCollectionResultHandler Constructor

Definition

Initializes a new instance of the AddTaskCollectionResultHandler class with the specified result handler function.

public AddTaskCollectionResultHandler (Func<Microsoft.Azure.Batch.AddTaskResult,System.Threading.CancellationToken,Microsoft.Azure.Batch.AddTaskResultStatus> resultHandler);
new Microsoft.Azure.Batch.AddTaskCollectionResultHandler : Func<Microsoft.Azure.Batch.AddTaskResult, System.Threading.CancellationToken, Microsoft.Azure.Batch.AddTaskResultStatus> -> Microsoft.Azure.Batch.AddTaskCollectionResultHandler
Public Sub New (resultHandler As Func(Of AddTaskResult, CancellationToken, AddTaskResultStatus))

Parameters

resultHandler
Func<AddTaskResult,CancellationToken,AddTaskResultStatus>

A function that defines whether a particular Add Task operation is considered successful or unsuccessful, and whether it may be retried.

Applies to