PollingWildCardChangeToken.IChangeToken.RegisterChangeCallback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers for a callback that will be invoked when the entry has changed. HasChanged MUST be set before the callback is invoked.
virtual IDisposable ^ Microsoft.Extensions.Primitives.IChangeToken.RegisterChangeCallback(Action<System::Object ^> ^ callback, System::Object ^ state) = Microsoft::Extensions::Primitives::IChangeToken::RegisterChangeCallback;
IDisposable IChangeToken.RegisterChangeCallback (Action<object> callback, object state);
abstract member Microsoft.Extensions.Primitives.IChangeToken.RegisterChangeCallback : Action<obj> * obj -> IDisposable
override this.Microsoft.Extensions.Primitives.IChangeToken.RegisterChangeCallback : Action<obj> * obj -> IDisposable
Function RegisterChangeCallback (callback As Action(Of Object), state As Object) As IDisposable Implements IChangeToken.RegisterChangeCallback
Parameters
- state
- Object
State to be passed into the callback.
Returns
An IDisposable that is used to unregister the callback.
Implements
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.