Partager via


NDClient.LicenseFetchCompleted Événement

Définition

Avertit les écouteurs qu’une opération d’extraction de licence est terminée.

// 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) 

Type d'événement

Attributs

S’applique à

Voir aussi