Partager via


Delegate ConnectionStatusChangedEventHandler

Delegate for receiving connection status updates.

using ConnectionStatusChangedEventHandler = std::function<void(Microsoft::Azure::RemoteRendering::ConnectionStatus, Microsoft::Azure::RemoteRendering::Result)>;

Applications use this type when registering events.

For more information on std::function, see the reference for function class.

Parameters

Name Type Description
status ConnectionStatus The new connection status.
error Result Additional error information in case of an unintended disconnect.

See also