共用方式為


IStatefulReconnectFeature.OnReconnected(Func<PipeWriter,Task>) 方法

定義

當連線重新連線時呼叫。 傳入應用程式程式碼所應寫入的新 PipeWriter

public void OnReconnected (Func<System.IO.Pipelines.PipeWriter,System.Threading.Tasks.Task> notifyOnReconnect);
abstract member OnReconnected : Func<System.IO.Pipelines.PipeWriter, System.Threading.Tasks.Task> -> unit
Public Sub OnReconnected (notifyOnReconnect As Func(Of PipeWriter, Task))

參數

notifyOnReconnect
Func<PipeWriter,Task>

適用於