Share via


PollingFileChangeToken.RegisterChangeCallback Method

Definition

Does not actually register callbacks.

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 when disposed

Implements

Applies to