IRDVTaskPlugin::StartTask method

Called to start the update task on the virtual machine.

Syntax

HRESULT StartTask(
  [in] BSTR            Label,
  [in] BSTR            Identifier,
  [in] SAFEARRAY(BYTE) *Context
);

Parameters

Label [in]

The label for the task. This is the label that was passed to the trigger agent in the ScheduleTask method.

Identifier [in]

The identifier of the task. This is the identifier that was passed to the trigger agent in the ScheduleTask method.

Context [in]

Optional data for the task. This is the data that was passed to the trigger agent in the ScheduleTask method.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client
Windows 7 Enterprise
Minimum supported server
Windows Server 2008 R2

See also

IRDVTaskPlugin