共用方式為


PipeMessageHandler 建構函式

定義

多載

PipeMessageHandler(IDuplexPipe, IJsonRpcMessageFormatter)

初始化 PipeMessageHandler 類別的新執行個體。

PipeMessageHandler(PipeWriter, PipeReader, IJsonRpcMessageFormatter)

初始化 PipeMessageHandler 類別的新執行個體。

PipeMessageHandler(Stream, Stream, IJsonRpcMessageFormatter)

初始化 PipeMessageHandler 類別的新執行個體。

PipeMessageHandler(IDuplexPipe, IJsonRpcMessageFormatter)

初始化 PipeMessageHandler 類別的新執行個體。

public PipeMessageHandler (System.IO.Pipelines.IDuplexPipe pipe, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.PipeMessageHandler : System.IO.Pipelines.IDuplexPipe * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.PipeMessageHandler
Public Sub New (pipe As IDuplexPipe, formatter As IJsonRpcMessageFormatter)

參數

pipe
IDuplexPipe

用於接收/傳輸訊息的讀取器和寫入器。

formatter
IJsonRpcMessageFormatter

用來序列化訊息的格式器。

適用於

PipeMessageHandler(PipeWriter, PipeReader, IJsonRpcMessageFormatter)

初始化 PipeMessageHandler 類別的新執行個體。

public PipeMessageHandler (System.IO.Pipelines.PipeWriter writer, System.IO.Pipelines.PipeReader reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
public PipeMessageHandler (System.IO.Pipelines.PipeWriter? writer, System.IO.Pipelines.PipeReader? reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.PipeMessageHandler : System.IO.Pipelines.PipeWriter * System.IO.Pipelines.PipeReader * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.PipeMessageHandler
Public Sub New (writer As PipeWriter, reader As PipeReader, formatter As IJsonRpcMessageFormatter)

參數

writer
PipeWriter

用於傳輸訊息的寫入器。

reader
PipeReader

要用於接收訊息的讀取器。

formatter
IJsonRpcMessageFormatter

用來序列化訊息的格式器。

適用於

PipeMessageHandler(Stream, Stream, IJsonRpcMessageFormatter)

初始化 PipeMessageHandler 類別的新執行個體。

public PipeMessageHandler (System.IO.Stream writer, System.IO.Stream reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
public PipeMessageHandler (System.IO.Stream? writer, System.IO.Stream? reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.PipeMessageHandler : System.IO.Stream * System.IO.Stream * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.PipeMessageHandler
Public Sub New (writer As Stream, reader As Stream, formatter As IJsonRpcMessageFormatter)

參數

writer
Stream

用於傳輸訊息的資料流程。

reader
Stream

要用於接收訊息的資料流程。

formatter
IJsonRpcMessageFormatter

用來序列化訊息的格式器。

適用於