This topic has not yet been rated - Rate this topic

ISchedulerJob.CreateTask Method

Creates a task.


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
'Usage
Dim instance As ISchedulerJob
Dim returnValue As ISchedulerTask

returnValue = instance.CreateTask
ISchedulerTask CreateTask ()
ISchedulerTask CreateTask ()
function CreateTask () : ISchedulerTask

Return Value

An ISchedulerTask interface that you use to define the task.

The initial state of the task is Configuring (see TaskState). You can add tasks to the job when the job is in the Configuring state. If the job is running, you can call the SubmitTask method to add the task to the running job.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.