Delen via


TaskAddOptions Constructors

Definition

Overloads

TaskAddOptions()

Initializes a new instance of the TaskAddOptions class.

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

Initializes a new instance of the TaskAddOptions class.

TaskAddOptions()

Source:
TaskAddOptions.cs

Initializes a new instance of the TaskAddOptions class.

public TaskAddOptions ();
Public Sub New ()

Applies to

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

Source:
TaskAddOptions.cs

Initializes a new instance of the TaskAddOptions class.

public TaskAddOptions (int? timeout = default, Guid? clientRequestId = default, bool? returnClientRequestId = default, DateTime? ocpDate = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskAddOptions : Nullable<int> * Nullable<Guid> * Nullable<bool> * Nullable<DateTime> -> Microsoft.Azure.Batch.Protocol.Models.TaskAddOptions
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 30 seconds. If the value is larger than 30, 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