TaskInformation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TaskInformation() |
Initializes a new instance of the TaskInformation class. |
TaskInformation(TaskState, String, String, String, Nullable<Int32>, TaskExecutionInformation) |
Initializes a new instance of the TaskInformation class. |
TaskInformation()
- Source:
- TaskInformation.cs
Initializes a new instance of the TaskInformation class.
public TaskInformation ();
Public Sub New ()
Applies to
TaskInformation(TaskState, String, String, String, Nullable<Int32>, TaskExecutionInformation)
- Source:
- TaskInformation.cs
Initializes a new instance of the TaskInformation class.
public TaskInformation (Microsoft.Azure.Batch.Protocol.Models.TaskState taskState, string taskUrl = default, string jobId = default, string taskId = default, int? subtaskId = default, Microsoft.Azure.Batch.Protocol.Models.TaskExecutionInformation executionInfo = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskInformation : Microsoft.Azure.Batch.Protocol.Models.TaskState * string * string * string * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskExecutionInformation -> Microsoft.Azure.Batch.Protocol.Models.TaskInformation
Public Sub New (taskState As TaskState, Optional taskUrl As String = Nothing, Optional jobId As String = Nothing, Optional taskId As String = Nothing, Optional subtaskId As Nullable(Of Integer) = Nothing, Optional executionInfo As TaskExecutionInformation = Nothing)
Parameters
- taskState
- TaskState
The current state of the Task.
- taskUrl
- String
The URL of the Task.
- jobId
- String
The ID of the Job to which the Task belongs.
- taskId
- String
The ID of the Task.
- executionInfo
- TaskExecutionInformation
Information about the execution of the Task.
Applies to
Azure SDK for .NET