Share via


RemoteSystemSessionController.JoinRequested Event

Definition

Raised whenever another device has discovered and requested access to the remote session managed by this RemoteSystemSessionController.

// Register
event_token JoinRequested(TypedEventHandler<RemoteSystemSessionController, RemoteSystemSessionJoinRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void JoinRequested(event_token const* cookie) const;

// Revoke with event_revoker
RemoteSystemSessionController::JoinRequested_revoker JoinRequested(auto_revoke_t, TypedEventHandler<RemoteSystemSessionController, RemoteSystemSessionJoinRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemSessionController,RemoteSystemSessionJoinRequestedEventArgs> JoinRequested;
function onJoinRequested(eventArgs) { /* Your code */ }
remoteSystemSessionController.addEventListener("joinrequested", onJoinRequested);
remoteSystemSessionController.removeEventListener("joinrequested", onJoinRequested);
- or -
remoteSystemSessionController.onjoinrequested = onJoinRequested;
Public Custom Event JoinRequested As TypedEventHandler(Of RemoteSystemSessionController, RemoteSystemSessionJoinRequestedEventArgs) 

Event Type

Windows requirements

App capabilities
remoteSystem

Applies to