INamedPipeReceivingPluginOnNamedPipeReceiving 方法
在刚收到数据时触发,即在适配器之前。
命名空间: TouchSocket.NamedPipe程序集: TouchSocket.NamedPipe (在 TouchSocket.NamedPipe.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
Task OnNamedPipeReceiving(
INamedPipeSession client,
ByteBlockEventArgs e
)
Function OnNamedPipeReceiving (
client As INamedPipeSession,
e As ByteBlockEventArgs
) As Task
abstract OnNamedPipeReceiving :
client : INamedPipeSession *
e : ByteBlockEventArgs -> Task
- client INamedPipeSession
- 触发事件的命名管道会话客户端。
- e ByteBlockEventArgs
- 包含收到的数据及其他相关信息的事件参数。
Task一个任务对象,表示异步操作。