Share via


IClusterService.CheckAnyTask Method

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

Checks for tasks in the job that have finished, failed, or been canceled and returns the task.

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

Usage

Syntax

'Declaration
Function CheckAnyTask ( _
    jobId As Integer, _
    timestamp As Byte() _
) As ITask
ITask CheckAnyTask (
    int jobId,
    byte[] timestamp
)
ITask^ CheckAnyTask (
    int jobId, 
    array<unsigned char>^ timestamp
)
ITask CheckAnyTask (
    int jobId, 
    byte[] timestamp
)
function CheckAnyTask (
    jobId : int, 
    timestamp : byte[]
) : ITask

Parameters

  • jobId
    The job identifier.
  • timestamp

Return Value

An ITask interface that represents the task that finished, failed, or was canceled. Is NULL otherwise.

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