NDClient.LicenseFetchCompleted Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Уведомляет прослушиватели о завершении операции получения лицензии.
// Register
event_token LicenseFetchCompleted(TypedEventHandler<NDClient, INDLicenseFetchCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void LicenseFetchCompleted(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::LicenseFetchCompleted_revoker LicenseFetchCompleted(auto_revoke_t, TypedEventHandler<NDClient, INDLicenseFetchCompletedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
// Register
event_token LicenseFetchCompleted(TypedEventHandler<NDClient, INDLicenseFetchCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void LicenseFetchCompleted(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::LicenseFetchCompleted_revoker LicenseFetchCompleted(auto_revoke_t, TypedEventHandler<NDClient, INDLicenseFetchCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<NDClient,INDLicenseFetchCompletedEventArgs> LicenseFetchCompleted;
[add: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<NDClient,INDLicenseFetchCompletedEventArgs> LicenseFetchCompleted;
function onLicenseFetchCompleted(eventArgs) { /* Your code */ }
nDClient.addEventListener("licensefetchcompleted", onLicenseFetchCompleted);
nDClient.removeEventListener("licensefetchcompleted", onLicenseFetchCompleted);
- or -
nDClient.onlicensefetchcompleted = onLicenseFetchCompleted;
Public Custom Event LicenseFetchCompleted As TypedEventHandler(Of NDClient, INDLicenseFetchCompletedEventArgs)
Тип события
- Атрибуты