AddTaskCollectionResultHandler Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET