Freigeben über


RemoteAutomationClientSession.ConnectionRequested Ereignis

Definition

Tritt auf, wenn eine Verbindung mit einem Remotesystem angefordert wird.

// Register
event_token ConnectionRequested(TypedEventHandler<RemoteAutomationClientSession, RemoteAutomationConnectionRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RemoteAutomationClientSession::ConnectionRequested_revoker ConnectionRequested(auto_revoke_t, TypedEventHandler<RemoteAutomationClientSession, RemoteAutomationConnectionRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteAutomationClientSession,RemoteAutomationConnectionRequestedEventArgs> ConnectionRequested;
function onConnectionRequested(eventArgs) { /* Your code */ }
remoteAutomationClientSession.addEventListener("connectionrequested", onConnectionRequested);
remoteAutomationClientSession.removeEventListener("connectionrequested", onConnectionRequested);
- or -
remoteAutomationClientSession.onconnectionrequested = onConnectionRequested;
Public Custom Event ConnectionRequested As TypedEventHandler(Of RemoteAutomationClientSession, RemoteAutomationConnectionRequestedEventArgs) 

Ereignistyp

Hinweise

Ermöglicht einer Host-App das Registrieren eines Rückrufs, der aufgerufen wird, wenn eine Verbindung mit einem Remoteanbieter (gemeinsame Nutzung einer benannten Pipe) erforderlich ist.

Gilt für:

Weitere Informationen