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>

适用于