RemoteSystemSessionController.JoinRequested 事件

定义

每当其他设备发现并请求访问此 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) 

事件类型

Windows 要求

应用功能
remoteSystem

适用于