Bagikan melalui


RemoteSystemSession.Disconnected Kejadian

Definisi

Dimunculkan ketika perangkat ini telah terputus dari sesi jarak jauh ini.

// 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) 

Jenis Acara

Persyaratan Windows

Kemampuan aplikasi
remoteSystem

Berlaku untuk