ISysStorageProviderEventSource.EventReceived 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
僅供內部使用。
[重要]這些介面存在,讓 Windows 檔案 應用程式可以實作這些介面,以便與其他檔案提供者整合。 這些介面不適用於一般用途,而且您撰寫的任何實作都不會由作業系統 (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)