IJob.AddTask Method
Adds the task to the job.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Sub AddTask ( _
task As ITask _
)
void AddTask (
ITask task
)
void AddTask (
ITask^ task
)
void AddTask (
ITask task
)
function AddTask (
task : ITask
)
Parameters
- task
An ITask interface that represents the task that you want to add to the job. To create the task, call the ICluster.CreateTask method.
Remarks
Use this method only to add tasks to a job that has not been added to the cluster. After the job is added to the cluster, you must call the ICluster.AddTask method to add tasks to the job.
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
IJob Interface
IJob Members
Microsoft.ComputeCluster Namespace
ICluster.AddTask Method
ICluster.CancelTasks Method
GetTask