Condividi tramite


RcsManager.TransportListChanged Evento

Definizione

Si verifica quando una o più istanze rcsTransport vengono aggiunte o rimosse dall'elenco di istanze rcsTransport restituite da RcsManager.GetTransportsAsync.

// Register
static event_token TransportListChanged(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void TransportListChanged(event_token const* cookie) const;

// Revoke with event_revoker
static RcsManager::TransportListChanged_revoker TransportListChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> TransportListChanged;
function onTransportListChanged(eventArgs) { /* Your code */ }
Windows.ApplicationModel.Chat.RcsManager.addEventListener("transportlistchanged", onTransportListChanged);
Windows.ApplicationModel.Chat.RcsManager.removeEventListener("transportlistchanged", onTransportListChanged);
- or -
Windows.ApplicationModel.Chat.RcsManager.ontransportlistchanged = onTransportListChanged;
Public Shared Custom Event TransportListChanged As EventHandler(Of Object) 

Tipo evento

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1809 (è stato introdotto in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v7.0)
Funzionalità dell'app
chat chatSystem smsSend

Si applica a