ITsSbTaskPluginNotifySink::OnUpdateTaskStatus method

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

Syntax

HRESULT OnUpdateTaskStatus(
  BSTR            szTargetName,
  BSTR            TaskIdentifier,
  RDV_TASK_STATUS TaskStatus
);

Parameters

szTargetName

The name of the target.

TaskIdentifier

The GUID that identifies the task.

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

   
Windows version None supported Windows Server 2012
Target Platform Windows
Header sbtsv.h

See Also

ITsSbTaskPluginNotifySink