Share via


IJobStateEventArg interface

Provides information related to the state of the job. This interface is passed to your implementation of the ISchedulerJobEvents::OnJobState or IRemoteCommandEvents::OnCommandJobState event handler.

Members

The IJobStateEventArg interface inherits from the IDispatch interface. IJobStateEventArg also has these types of members:

  • Properties

Properties

The IJobStateEventArg interface has these properties.

Property Access type Description

JobId

Read-only

Retrieves the identifier of the job whose state has changed.

NewState

Read-only

Retrieves the state of the job.

PreviousState

Read-only

Retrieves the previous state of the 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

See also

HPC Interfaces

IRemoteCommandEvents::OnCommandJobState

ISchedulerJobEvents::OnJobState