語言

CorrelationManagerTracingStrategy.GetInboundActivityName 方法

定義

決定在派遣來電 RPC 呼叫時,應為啟動的活動命名。

protected virtual string? GetInboundActivityName(StreamJsonRpc.Protocol.JsonRpcRequest request);
abstract member GetInboundActivityName : StreamJsonRpc.Protocol.JsonRpcRequest -> string
override this.GetInboundActivityName : StreamJsonRpc.Protocol.JsonRpcRequest -> string
Protected Overridable Function GetInboundActivityName (request As JsonRpcRequest) As String

參數

request
JsonRpcRequest

收到的 RPC 請求。

傳回

活動的名稱。

備註

預設實作會作為 Method 活動名稱。

適用於