TaskListOptions Constructors

Definition

Overloads

TaskListOptions()

Initializes a new instance of the TaskListOptions class.

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

Initializes a new instance of the TaskListOptions class.

TaskListOptions()

Source:
TaskListOptions.cs

Initializes a new instance of the TaskListOptions class.

public TaskListOptions ();
Public Sub New ()

Applies to

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

Source:
TaskListOptions.cs

Initializes a new instance of the TaskListOptions class.

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

Parameters

filter
String

An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.

select
String

An OData $select clause.

expand
String

An OData $expand clause.

maxResults
Nullable<Int32>

The maximum number of items to return in the response. A maximum of 1000 Tasks can be returned.

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