PackageValidationEventSource.ValidationRequested Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
// Register
event_token ValidationRequested(TypedEventHandler<PackageValidationEventSource, PackageValidationEventArgs const&> const& handler) const;
// Revoke with event_token
void ValidationRequested(event_token const* cookie) const;
// Revoke with event_revoker
PackageValidationEventSource::ValidationRequested_revoker ValidationRequested(auto_revoke_t, TypedEventHandler<PackageValidationEventSource, PackageValidationEventArgs const&> const& handler) const;
public event TypedEventHandler<PackageValidationEventSource,PackageValidationEventArgs> ValidationRequested;
function onValidationRequested(eventArgs) { /* Your code */ }
packageValidationEventSource.addEventListener("validationrequested", onValidationRequested);
packageValidationEventSource.removeEventListener("validationrequested", onValidationRequested);
- or -
packageValidationEventSource.onvalidationrequested = onValidationRequested;
Public Custom Event ValidationRequested As TypedEventHandler(Of PackageValidationEventSource, PackageValidationEventArgs)