共用方式為


TaskGetOptions Constructors

Definition

Overloads

TaskGetOptions()

Initializes a new instance of the TaskGetOptions class.

TaskGetOptions(String, String, Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the TaskGetOptions class.

TaskGetOptions()

Source:
TaskGetOptions.cs

Initializes a new instance of the TaskGetOptions class.

public TaskGetOptions ();
Public Sub New ()

Applies to

TaskGetOptions(String, String, Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<DateTime>)

Source:
TaskGetOptions.cs

Initializes a new instance of the TaskGetOptions class.

public TaskGetOptions (string select = default, string expand = default, int? timeout = default, Guid? clientRequestId = default, bool? returnClientRequestId = default, DateTime? ocpDate = default, string ifMatch = default, string ifNoneMatch = default, DateTime? ifModifiedSince = default, DateTime? ifUnmodifiedSince = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskGetOptions : string * string * Nullable<int> * Nullable<Guid> * Nullable<bool> * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Batch.Protocol.Models.TaskGetOptions
Public Sub New (Optional select As String = Nothing, Optional expand As String = Nothing, 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, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional ifModifiedSince As Nullable(Of DateTime) = Nothing, Optional ifUnmodifiedSince As Nullable(Of DateTime) = Nothing)

Parameters

select
String

An OData $select clause.

expand
String

An OData $expand clause.

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.

ifMatch
String

An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.

ifNoneMatch
String

An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.

ifModifiedSince
Nullable<DateTime>

A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.

ifUnmodifiedSince
Nullable<DateTime>

A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.

Applies to