Share via


ITaskStateEventArg::PreviousState property

Retrieves the previous state of the task.

This property is read-only.

Syntax

HRESULT get_PreviousState(
  [out] TaskState *pPreviousState
);

Property value

The previous state of the task. For possible values, see the TaskState enumeration.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ITaskStateEventArg

ITaskStateEventArg.NewState