Share via


Cluster.RequeueTask Method

Queues the specified task again.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Public Sub RequeueTask ( _
    jobId As Integer, _
    taskId As Integer _
)
public void RequeueTask (
    int jobId,
    int taskId
)
public:
virtual void RequeueTask (
    int jobId, 
    int taskId
) sealed
public final void RequeueTask (
    int jobId, 
    int taskId
)
public final function RequeueTask (
    jobId : int, 
    taskId : int
)

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.
  • taskId
    The task identifier. The Task.Id property contains this value.

Remarks

Typically, you call this method if the task failed, you fixed the cause of the failure, and you want to try running the task again.

If you call this method while the task is running, the task is canceled. You cannot call this method for a completed task.

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.RequeueJob Method
RequeueTasks