다음을 통해 공유


AppServiceConnection.RequestReceived 이벤트

정의

메시지가 App Service 연결의 다른 엔드포인트에서 도착할 때 발생합니다.

// Register
event_token RequestReceived(TypedEventHandler<AppServiceConnection, AppServiceRequestReceivedEventArgs const&> const& handler) const;

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

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

이벤트 유형

예제

앱 서비스 만들기 및 사용의 코드 예제를 참조하세요.

적용 대상

추가 정보