JsonRpcResponseEventArgs(RequestId, Boolean) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
一个标志,指示响应是否是结果 (而不是错误) 。