Zdieľať cez


NullChangeToken.RegisterChangeCallback(Action<Object>, Object) Method

Definition

Always returns an empty disposable object. Callbacks will never be called.

public:
 virtual IDisposable ^ RegisterChangeCallback(Action<System::Object ^> ^ callback, System::Object ^ state);
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

Parameters

callback
Action<Object>

This parameter is ignored

state
Object

This parameter is ignored

Returns

A disposable object that noops on dispose.

Implements

Applies to