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
|