AppServiceConnection.RequestReceived Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a message arrives from the other endpoint of the app service connection.
// 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)
Event Type
Examples
See the code examples in Create and consume an app service.