Share via


ChildSiteLink.FragmentRootAutomationProviderRequested Event

Definition

Occurs when the IRawElementProviderFragmentRoot is requested by the connected ContentIsland.

// Register
event_token FragmentRootAutomationProviderRequested(TypedEventHandler<IContentSiteAutomation, ContentSiteAutomationProviderRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ChildSiteLink::FragmentRootAutomationProviderRequested_revoker FragmentRootAutomationProviderRequested(auto_revoke_t, TypedEventHandler<IContentSiteAutomation, ContentSiteAutomationProviderRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<IContentSiteAutomation,ContentSiteAutomationProviderRequestedEventArgs> FragmentRootAutomationProviderRequested;
function onFragmentRootAutomationProviderRequested(eventArgs) { /* Your code */ }
childSiteLink.addEventListener("fragmentrootautomationproviderrequested", onFragmentRootAutomationProviderRequested);
childSiteLink.removeEventListener("fragmentrootautomationproviderrequested", onFragmentRootAutomationProviderRequested);
- or -
childSiteLink.onfragmentrootautomationproviderrequested = onFragmentRootAutomationProviderRequested;
Public Custom Event FragmentRootAutomationProviderRequested As TypedEventHandler(Of IContentSiteAutomation, ContentSiteAutomationProviderRequestedEventArgs) Implements FragmentRootAutomationProviderRequested

Event Type

Implements

Applies to

See also