JsonRpcResponseEventArgs(RequestId, Boolean) 构造函数

定义

初始化 JsonRpcResponseEventArgs 类的新实例。

public JsonRpcResponseEventArgs (StreamJsonRpc.RequestId requestId, bool isSuccessfulResponse);
new StreamJsonRpc.Reflection.JsonRpcResponseEventArgs : StreamJsonRpc.RequestId * bool -> StreamJsonRpc.Reflection.JsonRpcResponseEventArgs
Public Sub New (requestId As RequestId, isSuccessfulResponse As Boolean)

参数

requestId
RequestId

事件所涉及的请求或响应中的 ID。

isSuccessfulResponse
Boolean

一个标志,指示响应是否是结果 (而不是错误) 。

适用于