Dela via


IStatefulReconnectFeature.OnReconnected(Func<PipeWriter,Task>) Method

Definition

Called when a connection reconnects. The new PipeWriter that application code should write to is passed in.

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))

Parameters

notifyOnReconnect
Func<PipeWriter,Task>

Applies to