AddTaskCollectionResultHandler(Func<AddTaskResult,CancellationToken,AddTaskResultStatus>) 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
System.Func<AddTaskResult,System.Threading.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