IRunningTask::CurrentAction property

Gets the name of the current action that the running task is performing.

This property is read-only.

Syntax


HRESULT get_CurrentAction(
  [out]  BSTR *pName
);

Property value

The name of the current action that the running task is performing.

Error codes

NameMeaning
S_OK

The property value was successfully retrieved.

E_POINTER

A NULL value was passed into the pName parameter.

Remarks

The IRunningTask::Refresh method is called before the property value is returned.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

IRunningTask

 

 

Community Additions

ADD
Show:
© 2015 Microsoft