DevicePortalConnection.RequestReceived DevicePortalConnection.RequestReceived DevicePortalConnection.RequestReceived DevicePortalConnection.RequestReceived DevicePortalConnection.RequestReceived Event

Definition

Raised when a request has been received through the Windows Device Portal server. A device portal plugin app must implement a handler for this event.

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

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

// Revoke with event_revoker
RequestReceived_revoker RequestReceived(auto_revoke_t, TypedEventHandler<DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs> const& handler) const;
public event TypedEventHandler<DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs> RequestReceived
Public Event RequestReceived As TypedEventHandler (Of DevicePortalConnection, DevicePortalConnectionRequestReceivedEventArgs)
function onRequestReceived(eventArgs){/* Your code */}


devicePortalConnection.addEventListener("requestreceived", onRequestReceived);
devicePortalConnection.removeEventListener("requestreceived", onRequestReceived);