Compartir a través de


RemoteAutomationClientSession.Disconnected Evento

Definición

// Register
event_token Disconnected(TypedEventHandler<RemoteAutomationClientSession, RemoteAutomationDisconnectedEventArgs const&> const& handler) const;

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

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

Tipo de evento

Comentarios

Permite que una aplicación host registre una devolución de llamada que se invoca cuando se cierre una conexión a un proveedor remoto (que comparte una canalización con nombre).

Se aplica a

Consulte también