共用方式為


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

適用於