语言

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

指示响应是否为结果(而不是错误)的标志。

适用于