ITsSbTaskPluginNotifySink::OnUpdateTaskStatus method (sbtsv.h)

Notifies Remote Desktop Connection Broker (RD Connection Broker) that the status of a task has changed.

Syntax

HRESULT OnUpdateTaskStatus(
  [in] BSTR            szTargetName,
  [in] BSTR            TaskIdentifier,
  [in] RDV_TASK_STATUS TaskStatus
);

Parameters

[in] szTargetName

The name of the target.

[in] TaskIdentifier

The GUID that identifies the task.

[in] TaskStatus

An RDV_TASK_STATUS enumeration value representing the new state of the task.

Return value

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

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header sbtsv.h

See also

ITsSbTaskPluginNotifySink