ChildSiteLink.ParentAutomationProviderRequested Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Происходит, когда родительский поставщик автоматизации запрашивается подключенным ContentIsland.
// Register
event_token ParentAutomationProviderRequested(TypedEventHandler<IContentSiteAutomation, ContentSiteAutomationProviderRequestedEventArgs const&> const& handler) const;
// Revoke with event_token
void ParentAutomationProviderRequested(event_token const* cookie) const;
// Revoke with event_revoker
ChildSiteLink::ParentAutomationProviderRequested_revoker ParentAutomationProviderRequested(auto_revoke_t, TypedEventHandler<IContentSiteAutomation, ContentSiteAutomationProviderRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<IContentSiteAutomation,ContentSiteAutomationProviderRequestedEventArgs> ParentAutomationProviderRequested;
function onParentAutomationProviderRequested(eventArgs) { /* Your code */ }
childSiteLink.addEventListener("parentautomationproviderrequested", onParentAutomationProviderRequested);
childSiteLink.removeEventListener("parentautomationproviderrequested", onParentAutomationProviderRequested);
- or -
childSiteLink.onparentautomationproviderrequested = onParentAutomationProviderRequested;
Public Custom Event ParentAutomationProviderRequested As TypedEventHandler(Of IContentSiteAutomation, ContentSiteAutomationProviderRequestedEventArgs) Implements ParentAutomationProviderRequested