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) 

事件类型

属性

适用于

另请参阅