RemoteSystemSession.Disconnected 이벤트

정의

이 디바이스가 이 원격 세션에서 연결이 끊어졌을 때 발생합니다.

// Register
event_token Disconnected(TypedEventHandler<RemoteSystemSession, RemoteSystemSessionDisconnectedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RemoteSystemSession::Disconnected_revoker Disconnected(auto_revoke_t, TypedEventHandler<RemoteSystemSession, RemoteSystemSessionDisconnectedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemSession,RemoteSystemSessionDisconnectedEventArgs> Disconnected;
function onDisconnected(eventArgs) { /* Your code */ }
remoteSystemSession.addEventListener("disconnected", onDisconnected);
remoteSystemSession.removeEventListener("disconnected", onDisconnected);
- or -
remoteSystemSession.ondisconnected = onDisconnected;
Public Custom Event Disconnected As TypedEventHandler(Of RemoteSystemSession, RemoteSystemSessionDisconnectedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
remoteSystem

적용 대상