NamedPipeReconnectionPluginTClientActionForCheck 属性
每个周期可执行的委托。用于检验客户端活性。返回true表示存活,返回
命名空间: TouchSocket.NamedPipe程序集: TouchSocket.NamedPipe (在 TouchSocket.NamedPipe.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public override Func<TClient, int, Task<bool?>> ActionForCheck { get; set; }
Public Overrides Property ActionForCheck As Func(Of TClient, Integer, Task(Of Boolean?))
Get
Set
abstract ActionForCheck : Func<'TClient, int, Task<Nullable<bool>>> with get, set
override ActionForCheck : Func<'TClient, int, Task<Nullable<bool>>> with get, set
属性值
FuncTClient,
Int32,
TaskNullableBoolean