ComputeNodeDisableSchedulingBatchRequest(BatchServiceClient, Nullable<DisableComputeNodeSchedulingOption>, CancellationToken) Constructor

Definition

Initializes a new instance of the ComputeNodeDisableSchedulingBatchRequest class.

public ComputeNodeDisableSchedulingBatchRequest (Microsoft.Azure.Batch.Protocol.BatchServiceClient serviceClient, Microsoft.Azure.Batch.Protocol.Models.DisableComputeNodeSchedulingOption? parameters, System.Threading.CancellationToken cancellationToken);
new Microsoft.Azure.Batch.Protocol.BatchRequests.ComputeNodeDisableSchedulingBatchRequest : Microsoft.Azure.Batch.Protocol.BatchServiceClient * Nullable<Microsoft.Azure.Batch.Protocol.Models.DisableComputeNodeSchedulingOption> * System.Threading.CancellationToken -> Microsoft.Azure.Batch.Protocol.BatchRequests.ComputeNodeDisableSchedulingBatchRequest
Public Sub New (serviceClient As BatchServiceClient, parameters As Nullable(Of DisableComputeNodeSchedulingOption), cancellationToken As CancellationToken)

Parameters

serviceClient
BatchServiceClient

The service client to use.

parameters
System.Nullable<DisableComputeNodeSchedulingOption>

The parameters to use.

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Applies to