Dela via


ICoreWindow.AutomationProviderRequested Event

Definition

Specifies the event that is fired when a request for an automation handler is generated.

// Register
event_token AutomationProviderRequested(TypedEventHandler<CoreWindow, AutomationProviderRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void AutomationProviderRequested(event_token const* cookie) const;

// Revoke with event_revoker
ICoreWindow::AutomationProviderRequested_revoker AutomationProviderRequested(auto_revoke_t, TypedEventHandler<CoreWindow, AutomationProviderRequestedEventArgs const&> const& handler) const;
event TypedEventHandler<CoreWindow,AutomationProviderRequestedEventArgs> AutomationProviderRequested;
function onAutomationProviderRequested(eventArgs) { /* Your code */ }
iCoreWindow.addEventListener("automationproviderrequested", onAutomationProviderRequested);
iCoreWindow.removeEventListener("automationproviderrequested", onAutomationProviderRequested);
- or -
iCoreWindow.onautomationproviderrequested = onAutomationProviderRequested;
Event AutomationProviderRequested As TypedEventHandler(Of CoreWindow, AutomationProviderRequestedEventArgs) 

Event Type

Applies to