다음을 통해 공유


RemoteSystemSessionInvitationListener.InvitationReceived 이벤트

정의

다른 디바이스의 원격 세션 초대가 감지되면 발생합니다.

// Register
event_token InvitationReceived(TypedEventHandler<RemoteSystemSessionInvitationListener, RemoteSystemSessionInvitationReceivedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RemoteSystemSessionInvitationListener::InvitationReceived_revoker InvitationReceived(auto_revoke_t, TypedEventHandler<RemoteSystemSessionInvitationListener, RemoteSystemSessionInvitationReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemSessionInvitationListener,RemoteSystemSessionInvitationReceivedEventArgs> InvitationReceived;
function onInvitationReceived(eventArgs) { /* Your code */ }
remoteSystemSessionInvitationListener.addEventListener("invitationreceived", onInvitationReceived);
remoteSystemSessionInvitationListener.removeEventListener("invitationreceived", onInvitationReceived);
- or -
remoteSystemSessionInvitationListener.oninvitationreceived = onInvitationReceived;
Public Custom Event InvitationReceived As TypedEventHandler(Of RemoteSystemSessionInvitationListener, RemoteSystemSessionInvitationReceivedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
remoteSystem

적용 대상