DevicePortalConnection.RequestReceived 이벤트

정의

Windows 디바이스 포털 서버를 통해 요청이 수신되었을 때 발생합니다. 디바이스 포털 플러그 인 앱은 이 이벤트에 대한 처리기를 구현해야 합니다.

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

이벤트 유형

적용 대상