Condividi tramite


TaskAddCollectionOptions Constructors

Definition

Overloads

TaskAddCollectionOptions()

Initializes a new instance of the TaskAddCollectionOptions class.

TaskAddCollectionOptions(Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>)

Initializes a new instance of the TaskAddCollectionOptions class.

TaskAddCollectionOptions()

Source:
TaskAddCollectionOptions.cs

Initializes a new instance of the TaskAddCollectionOptions class.

public TaskAddCollectionOptions ();
Public Sub New ()

Applies to

TaskAddCollectionOptions(Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>)

Source:
TaskAddCollectionOptions.cs

Initializes a new instance of the TaskAddCollectionOptions class.

public TaskAddCollectionOptions (int? timeout = default, Guid? clientRequestId = default, bool? returnClientRequestId = default, DateTime? ocpDate = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskAddCollectionOptions : Nullable<int> * Nullable<Guid> * Nullable<bool> * Nullable<DateTime> -> Microsoft.Azure.Batch.Protocol.Models.TaskAddCollectionOptions
Public Sub New (Optional timeout As Nullable(Of Integer) = Nothing, Optional clientRequestId As Nullable(Of Guid) = Nothing, Optional returnClientRequestId As Nullable(Of Boolean) = Nothing, Optional ocpDate As Nullable(Of DateTime) = Nothing)

Parameters

timeout
Nullable<Int32>

The maximum time that the server can spend processing the request, in seconds. The default is 2 minutes. If the value is larger than 120, the default will be used instead.

clientRequestId
Nullable<Guid>

The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

returnClientRequestId
Nullable<Boolean>

Whether the server should return the client-request-id in the response.

ocpDate
Nullable<DateTime>

The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

Applies to