RemoteSystemSession.Disconnected Ereignis

Definition

Wird ausgelöst, wenn dieses Gerät von dieser Remotesitzung getrennt wurde.

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

Ereignistyp

Windows-Anforderungen

App-Funktionen
remoteSystem

Gilt für: