TaskAddBatchRequest TaskAddBatchRequest TaskAddBatchRequest Class

Definition

An IBatchRequest for the TaskAdd operation.

public class TaskAddBatchRequest : Microsoft.Azure.Batch.Protocol.BatchRequest<Microsoft.Azure.Batch.Protocol.Models.TaskAddParameter,Microsoft.Azure.Batch.Protocol.Models.TaskAddOptions,Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Batch.Protocol.Models.TaskAddHeaders>>
type TaskAddBatchRequest = class
    inherit BatchRequest<TaskAddParameter, TaskAddOptions, AzureOperationHeaderResponse<TaskAddHeaders>>
Public Class TaskAddBatchRequest
Inherits BatchRequest(Of TaskAddParameter, TaskAddOptions, AzureOperationHeaderResponse(Of TaskAddHeaders))
Inheritance

Constructors

TaskAddBatchRequest(BatchServiceClient, TaskAddParameter, CancellationToken) TaskAddBatchRequest(BatchServiceClient, TaskAddParameter, CancellationToken) TaskAddBatchRequest(BatchServiceClient, TaskAddParameter, CancellationToken)

Initializes a new instance of the TaskAddBatchRequest class.

Properties

CancellationToken CancellationToken CancellationToken

Gets or sets the CancellationToken associated with this IBatchRequest.

(Inherited from BatchRequestBase<TOptions,TResponse>)
ClientRequestIdProvider ClientRequestIdProvider ClientRequestIdProvider

Gets or sets the ClientRequestIdProvider used by this request to generate client request ids.

(Inherited from BatchRequestBase<TOptions,TResponse>)
CustomHeaders CustomHeaders CustomHeaders

Gets the headers used for the request.

(Inherited from BatchRequestBase<TOptions,TResponse>)
IBatchRequest.Options IBatchRequest.Options IBatchRequest.Options

Gets the options needed by the REST proxy for the current request.

(Inherited from BatchRequestBase<TOptions,TResponse>)
OperationContext OperationContext OperationContext

Gets the operation context associated with this IBatchRequest.

(Inherited from BatchRequestBase<TOptions,TResponse>)
Options Options Options

Gets or sets the options used for the request.

(Inherited from BatchRequestBase<TOptions,TResponse>)
Parameters Parameters Parameters

Gets or sets the parameters passed in the REST API request body.

(Inherited from BatchRequest<TBody,TOptions,TResponse>)
RestClient RestClient RestClient

Gets the REST client that will be used for this request.

(Inherited from BatchRequestBase<TOptions,TResponse>)
RetryPolicy RetryPolicy RetryPolicy

Gets or sets the retry policy to be applied. Null means no retries will be attempted.

(Inherited from BatchRequestBase<TOptions,TResponse>)
ServiceRequestFunc ServiceRequestFunc ServiceRequestFunc

Gets or sets the function which will create a Task calling the Batch service.

(Inherited from BatchRequestBase<TOptions,TResponse>)
Timeout Timeout Timeout

Gets or sets the client side timeout for a request to the Batch service.

(Inherited from BatchRequestBase<TOptions,TResponse>)

Methods

ExecuteRequestAsync() ExecuteRequestAsync() ExecuteRequestAsync()

Executes the request.

(Inherited from BatchRequestBase<TOptions,TResponse>)
ThrowIfRequestExecutionHasStarted() ThrowIfRequestExecutionHasStarted() ThrowIfRequestExecutionHasStarted()

Throws an exception if request execution has started.

(Inherited from BatchRequestBase<TOptions,TResponse>)

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to