AppServiceConnection.RequestReceived AppServiceConnection.RequestReceived AppServiceConnection.RequestReceived AppServiceConnection.RequestReceived AppServiceConnection.RequestReceived Event

Definition

Occurs when a message arrives from the other endpoint of the app service connection.

public : event TypedEventHandler<AppServiceConnection, AppServiceRequestReceivedEventArgs> RequestReceived
// Register
event_token RequestReceived(TypedEventHandler<AppServiceConnection, AppServiceRequestReceivedEventArgs> 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<AppServiceConnection, AppServiceRequestReceivedEventArgs> const& handler) const;
public event TypedEventHandler<AppServiceConnection, AppServiceRequestReceivedEventArgs> RequestReceived
Public Event RequestReceived As TypedEventHandler (Of AppServiceConnection, AppServiceRequestReceivedEventArgs)
function onRequestReceived(eventArgs){/* Your code */}


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

See also