Compartir a través de


DevicePortalConnection.RequestReceived Evento

Definición

Se genera cuando se recibe una solicitud a través del servidor del Portal de dispositivos Windows. Una aplicación de complemento del portal de dispositivos debe implementar un controlador para este evento.

// Register
event_token RequestReceived(TypedEventHandler<DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
DevicePortalConnection::RequestReceived_revoker RequestReceived(auto_revoke_t, TypedEventHandler<DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<DevicePortalConnection,DevicePortalConnectionRequestReceivedEventArgs> RequestReceived;
function onRequestReceived(eventArgs) { /* Your code */ }
devicePortalConnection.addEventListener("requestreceived", onRequestReceived);
devicePortalConnection.removeEventListener("requestreceived", onRequestReceived);
- or -
devicePortalConnection.onrequestreceived = onRequestReceived;
Public Custom Event RequestReceived As TypedEventHandler(Of DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs) 

Tipo de evento

Se aplica a