TaskId 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
| TaskId() |
Initializes an empty instance of the TaskId class. |
| TaskId(Int32) |
Initializes a new instance of the TaskId class using the identifier that identifies the task within the job. |
| TaskId(String) |
Initializes a new instance of the TaskId class using a string to identify the task identifiers. |
| TaskId(Int32, Int32) |
Initializes a new instance of the TaskId class using the identifiers for a parametric task. |
| TaskId(Int32, Int32, Int32) |
Initializes a new instance of the TaskId class using the job, task, and instance identifiers. |
TaskId()
TaskId(Int32)
Initializes a new instance of the TaskId class using the identifier that identifies the task within the job.
public TaskId(int jobTaskId);
new Microsoft.Hpc.Scheduler.Properties.TaskId : int -> Microsoft.Hpc.Scheduler.Properties.TaskId
Public Sub New (jobTaskId As Integer)
Parameters
- jobTaskId
- Int32
An identifier that identifies the task within the job.
Applies to
TaskId(String)
Initializes a new instance of the TaskId class using a string to identify the task identifiers.
public TaskId(string text);
new Microsoft.Hpc.Scheduler.Properties.TaskId : string -> Microsoft.Hpc.Scheduler.Properties.TaskId
Public Sub New (text As String)
Parameters
- text
- String
A string that contains the components of the task identifier in the form, ParentJobId.JobTaskId.InstanceId.
Applies to
TaskId(Int32, Int32)
Initializes a new instance of the TaskId class using the identifiers for a parametric task.
public TaskId(int jobTaskId, int taskInstanceId);
new Microsoft.Hpc.Scheduler.Properties.TaskId : int * int -> Microsoft.Hpc.Scheduler.Properties.TaskId
Public Sub New (jobTaskId As Integer, taskInstanceId As Integer)
Parameters
- jobTaskId
- Int32
An identifier that identifies the task within the job.
- taskInstanceId
- Int32
An identifier that identifies the instance of a parametric task.
Applies to
TaskId(Int32, Int32, Int32)
Initializes a new instance of the TaskId class using the job, task, and instance identifiers.
public TaskId(int parentJobId, int jobTaskId, int taskInstanceId);
new Microsoft.Hpc.Scheduler.Properties.TaskId : int * int * int -> Microsoft.Hpc.Scheduler.Properties.TaskId
Public Sub New (parentJobId As Integer, jobTaskId As Integer, taskInstanceId As Integer)
Parameters
- parentJobId
- Int32
The identifier of the job to which the task belongs.
- jobTaskId
- Int32
The identifier that identifies the task within the job.
- taskInstanceId
- Int32
The instance identifier for a parametric task.