共用方式為


MessageFormatterDuplexPipeTracker.OnResponseReceived(Int64, Boolean) 方法

定義

收到任何要求的回應時通知此追蹤器,以便進行適當的通道和狀態清除。

public void OnResponseReceived (long requestId, bool successful);
member this.OnResponseReceived : int64 * bool -> unit
Public Sub OnResponseReceived (requestId As Long, successful As Boolean)

參數

requestId
Int64

收到回應的要求識別碼。

successful
Boolean

值,指出回應是否代表成功的結果 (,也就是 , JsonRpcResult 而不是 JsonRpcError) 。

適用於