共用方式為


ClientBuilderExtensions.AddActivityPropagation(IClientBuilder) 方法

定義

透過粒紋呼叫新增 Current 傳播。 注意:只有在活動的任何接聽程式存在 HasListeners()Sample 傳回 PropagationData 時,才會建立活動 StartActivity(String, ActivityKind)

public static Orleans.Hosting.IClientBuilder AddActivityPropagation (this Orleans.Hosting.IClientBuilder builder);
static member AddActivityPropagation : Orleans.Hosting.IClientBuilder -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddActivityPropagation (builder As IClientBuilder) As IClientBuilder

參數

builder
IClientBuilder

產生器。

傳回

產生器。

適用於