語言

MessageFormatterEnumerableTracker(JsonRpc, IJsonRpcFormatterState) 建構函式

定義

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

public MessageFormatterEnumerableTracker(StreamJsonRpc.JsonRpc jsonRpc, StreamJsonRpc.Reflection.IJsonRpcFormatterState formatterState);
new StreamJsonRpc.Reflection.MessageFormatterEnumerableTracker : StreamJsonRpc.JsonRpc * StreamJsonRpc.Reflection.IJsonRpcFormatterState -> StreamJsonRpc.Reflection.MessageFormatterEnumerableTracker
Public Sub New (jsonRpc As JsonRpc, formatterState As IJsonRpcFormatterState)

參數

jsonRpc
JsonRpc

JsonRpc該實例可用於發送或接收與 IAsyncEnumerable<T>的 相關的 RPC 訊息。

formatterState
IJsonRpcFormatterState

擁有這個追蹤器的格式化器。

適用於