RemoteSystemSessionController.JoinRequested 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
每当其他设备发现并请求访问此 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
|