TaskTerminateBatchRequest(BatchServiceClient, CancellationToken) 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 TaskTerminateBatchRequest class.
public TaskTerminateBatchRequest (Microsoft.Azure.Batch.Protocol.BatchServiceClient serviceClient, System.Threading.CancellationToken cancellationToken);
new Microsoft.Azure.Batch.Protocol.BatchRequests.TaskTerminateBatchRequest : Microsoft.Azure.Batch.Protocol.BatchServiceClient * System.Threading.CancellationToken -> Microsoft.Azure.Batch.Protocol.BatchRequests.TaskTerminateBatchRequest
Public Sub New (serviceClient As BatchServiceClient, cancellationToken As CancellationToken)
Parameters
- serviceClient
- BatchServiceClient
The service client to use.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
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