Langue

ModelReloadToken.RegisterChangeCallback(Action<Object>, Object) Méthode

Définition

S’inscrit à un rappel qui sera appelé lorsque l’entrée a changé. HasChanged DOIT être défini avant l’appel du rappel.

public IDisposable RegisterChangeCallback(Action<object> callback, object state);
abstract member RegisterChangeCallback : Action<obj> * obj -> IDisposable
override this.RegisterChangeCallback : Action<obj> * obj -> IDisposable
Public Function RegisterChangeCallback (callback As Action(Of Object), state As Object) As IDisposable

Paramètres

callback
Action<Object>

Rappel à appeler.

state
Object

État à passer dans le rappel.

Retours

System.IDisposable utilisé pour annuler l’inscription du rappel.

Implémente

S’applique à