ITaskStateEventArg interface
Provides information related to the state of a task in the job. This interface is passed to your implementation of the ISchedulerJobEvents::OnTaskState event handler.
Members
The ITaskStateEventArg interface inherits from the IDispatch interface. ITaskStateEventArg also has these types of members:
- Properties
Properties
The ITaskStateEventArg interface has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
Retrieves the identifier of the job that contains the task whose state has changed. |
|
Read-only |
Retrieves the state of the task. |
|
Read-only |
Retrieves the previous state of the task. |
|
Read-only |
Retrieves the identifier that uniquely identifies the task in a job. |
Examples
For an example, see Implementing the Event Handlers for Job Events in C++.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |