共用方式為


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

來自事件相關要求或回應的識別碼。

isSuccessfulResponse
Boolean

旗標,指出回應是否為結果 (,而不是錯誤) 。

適用於