NDClient.RegistrationCompleted Ereignis
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Benachrichtigt Listener, dass ein Registrierungsvorgang abgeschlossen wurde.
// Register
event_token RegistrationCompleted(TypedEventHandler<NDClient, INDRegistrationCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void RegistrationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::RegistrationCompleted_revoker RegistrationCompleted(auto_revoke_t, TypedEventHandler<NDClient, INDRegistrationCompletedEventArgs 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 RegistrationCompleted(TypedEventHandler<NDClient, INDRegistrationCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void RegistrationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::RegistrationCompleted_revoker RegistrationCompleted(auto_revoke_t, TypedEventHandler<NDClient, INDRegistrationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<NDClient,INDRegistrationCompletedEventArgs> RegistrationCompleted;
[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,INDRegistrationCompletedEventArgs> RegistrationCompleted;
function onRegistrationCompleted(eventArgs) { /* Your code */ }
nDClient.addEventListener("registrationcompleted", onRegistrationCompleted);
nDClient.removeEventListener("registrationcompleted", onRegistrationCompleted);
- or -
nDClient.onregistrationcompleted = onRegistrationCompleted;
Public Custom Event RegistrationCompleted As TypedEventHandler(Of NDClient, INDRegistrationCompletedEventArgs)
Ereignistyp
- Attribute