ISysStorageProviderEventSource.EventReceived 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.
For internal use only.
[IMPORTANT] These interfaces exist so that the Windows Files app can implement them for purposes of integrating with other file providers. These interfaces aren't for general use, and any implementation that you author won't be called by the operating system (OS).
// 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)