Partager via


JobPendingEventArgs structure

This structure defines the event arguments that are passed to an IJobPendingEventHandler::OnJobPending event.

Syntax

struct JobPendingEventArgs {
  DWORD     Size;
  const Job *Job;
  DWORD     Timeout;
};

Members

Size

The number of bytes in the structure. Used to detect different versions of structure. This is set to sizeof( JobPendingEventArgs ) by the AXE engine.

Job

A pointer to the Job object that has been queued for execution. The Job object is owned by the AXE engine and should not be deleted.

Timeout

The amount of time the engine will wait for a job running within another engine to finish.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeHosting.h