Bagikan melalui


TaskAddResult Constructors

Definition

Overloads

TaskAddResult()

Initializes a new instance of the TaskAddResult class.

TaskAddResult(TaskAddStatus, String, String, Nullable<DateTime>, String, BatchError)

Initializes a new instance of the TaskAddResult class.

TaskAddResult()

Source:
TaskAddResult.cs

Initializes a new instance of the TaskAddResult class.

public TaskAddResult ();
Public Sub New ()

Applies to

TaskAddResult(TaskAddStatus, String, String, Nullable<DateTime>, String, BatchError)

Source:
TaskAddResult.cs

Initializes a new instance of the TaskAddResult class.

public TaskAddResult (Microsoft.Azure.Batch.Protocol.Models.TaskAddStatus status, string taskId, string eTag = default, DateTime? lastModified = default, string location = default, Microsoft.Azure.Batch.Protocol.Models.BatchError error = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskAddResult : Microsoft.Azure.Batch.Protocol.Models.TaskAddStatus * string * string * Nullable<DateTime> * string * Microsoft.Azure.Batch.Protocol.Models.BatchError -> Microsoft.Azure.Batch.Protocol.Models.TaskAddResult
Public Sub New (status As TaskAddStatus, taskId As String, Optional eTag As String = Nothing, Optional lastModified As Nullable(Of DateTime) = Nothing, Optional location As String = Nothing, Optional error As BatchError = Nothing)

Parameters

status
TaskAddStatus

The status of the add Task request.

taskId
String

The ID of the Task for which this is the result.

eTag
String

The ETag of the Task, if the Task was successfully added.

lastModified
Nullable<DateTime>

The last modified time of the Task.

location
String

The URL of the Task, if the Task was successfully added.

error
BatchError

The error encountered while attempting to add the Task.

Applies to