ISchedulerJob.OnTaskState Event

An event that is raised when the state of one of the tasks in the job changes.


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)

'Usage
Dim instance As ISchedulerJob
Dim handler As EventHandler(Of TaskStateEventArg)

AddHandler instance.OnTaskState, handler

event EventHandler<TaskStateEventArg> OnTaskState
/** @event */
void add_OnTaskState (EventHandler<TaskStateEventArg> value)

/** @event */
void remove_OnTaskState (EventHandler<TaskStateEventArg> value)

JScript does not support events.

For an example, see Implementing the Event Handlers for Job Events in C#.

noteNote
If a task state changes very quickly, some intermediate states may not be detected, and will not raise OnTaskState events.

For details on the delegate used with this event, see TaskStateHandler.


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

Community Additions

ADD
Show: