PollingFileChangeToken.RegisterChangeCallback 方法

定义

实际上不会注册回叫。

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

参数

callback
Action<Object>

忽略此参数。

state
Object

忽略此参数。

返回

释放时不操作的可释放对象。

实现

适用于