共用方式為


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

這個參數已忽略。

傳回

處置時的可處置物件。

實作

適用於