ISysStorageProviderEventSource.EventReceived Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
À usage interne uniquement.
[IMPORTANT] Ces interfaces existent afin que l’application Fichiers Windows puisse les implémenter à des fins d’intégration avec d’autres fournisseurs de fichiers. Ces interfaces ne sont pas destinées à une utilisation générale, et toute implémentation que vous créez ne sera pas appelée par le système d’exploitation .
// Register
event_token EventReceived(TypedEventHandler<ISysStorageProviderEventSource, SysStorageProviderEventReceivedEventArgs const&> const& handler) const;
// Revoke with event_token
void EventReceived(event_token const* cookie) const;
// Revoke with event_revoker
ISysStorageProviderEventSource::EventReceived_revoker EventReceived(auto_revoke_t, TypedEventHandler<ISysStorageProviderEventSource, SysStorageProviderEventReceivedEventArgs const&> const& handler) const;
event TypedEventHandler<ISysStorageProviderEventSource,SysStorageProviderEventReceivedEventArgs> EventReceived;
function onEventReceived(eventArgs) { /* Your code */ }
iSysStorageProviderEventSource.addEventListener("eventreceived", onEventReceived);
iSysStorageProviderEventSource.removeEventListener("eventreceived", onEventReceived);
- or -
iSysStorageProviderEventSource.oneventreceived = onEventReceived;
Event EventReceived As TypedEventHandler(Of ISysStorageProviderEventSource, SysStorageProviderEventReceivedEventArgs)
Type d'événement
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour