ITsSbBaseNotifySink::OnError method (sbtsv.h)

Reports an error condition to Remote Desktop Connection Broker (RD Connection Broker).

Syntax

HRESULT OnError(
  [in] HRESULT hrError
);

Parameters

[in] hrError

The error condition.

Return value

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

Remarks

Calling this method stops further processing on the client connection and causes the connection to fail.

Requirements

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

See also

ITsSbBaseNotifySink