Cluster.RequeueTasks Method
Queues one or more specified tasks again.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Public Sub RequeueTasks ( _
jobId As Integer, _
taskIds As IClusterEnumerable _
)
public void RequeueTasks (
int jobId,
IClusterEnumerable taskIds
)
public:
virtual void RequeueTasks (
int jobId,
IClusterEnumerable^ taskIds
) sealed
public final void RequeueTasks (
int jobId,
IClusterEnumerable taskIds
)
public final function RequeueTasks (
jobId : int,
taskIds : IClusterEnumerable
)
Parameters
- jobId
The job identifier. The Cluster.AddJob method returns this value. If you have a job object that has already been added to the cluster, you can access the Job.Id property to get the identifier.
- taskIds
A class that implements the IClusterEnumerable interface. The collection contains integers that identify one or more tasks to queue again. The Task.Id property contains the task identifier value.
Remarks
The IClusterEnumerable class implements the IClusterEnumerable interface.
Typically, you call this method if the tasks failed for similar reasons, you fixed the cause of the failure, and you want to try running the tasks again.
If you call this method while tasks are running, the tasks are canceled. You cannot call this method for completed tasks.
If the method fails to queue a task, all subsequent tasks in the job are also not queued. Tasks that were queued before the failure remain queued.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
Cluster Class
Cluster Members
Microsoft.ComputeCluster Namespace
Cluster.RequeueJobs Method
Cluster.RequeueTask Method