Share via


IClusterService.CancelTasks Method

This method supports the infrastructure and is not intended to be used directly from your code.

Cancels one or more specified tasks.

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

Usage

Syntax

'Declaration
Sub CancelTasks ( _
    jobId As Integer, _
    taskIds As Integer(), _
    message As String, _
    isAsynchronous As Boolean _
)
void CancelTasks (
    int jobId,
    int[] taskIds,
    string message,
    bool isAsynchronous
)
void CancelTasks (
    int jobId, 
    array<int>^ taskIds, 
    String^ message, 
    bool isAsynchronous
)
void CancelTasks (
    int jobId, 
    int[] taskIds, 
    String message, 
    boolean isAsynchronous
)
function CancelTasks (
    jobId : int, 
    taskIds : int[], 
    message : String, 
    isAsynchronous : boolean
)

Parameters

  • jobId
    The job identifier.
  • taskIds
    Array of identifiers to the tasks to cancel.
  • message
  • isAsynchronous
    To execute asynchronously, set this value to true; otherwise, false to execute synchronously.

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

IClusterService Interface
IClusterService Members
Microsoft.ComputeCluster Namespace