Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CoreHostingExtensions.AddActivityPropagation(ISiloBuilder) Method

Definition

Namespace:
Orleans.Hosting
Assembly:
Orleans.Runtime.dll
Package:
Microsoft.Orleans.Runtime v10.0.0
Package:
Microsoft.Orleans.Runtime v7.2.5
Package:
Microsoft.Orleans.Runtime v8.0.0
Package:
Microsoft.Orleans.Runtime v8.1.0
Package:
Microsoft.Orleans.Runtime v8.2.0
Package:
Microsoft.Orleans.Runtime v9.0.0
Package:
Microsoft.Orleans.Runtime v9.1.2

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Add Current propagation through grain calls. Note: according to StartActivity(String, ActivityKind) activity will be created only when any listener for activity exists HasListeners() and Sample returns PropagationData.

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

Parameters

builder
ISiloBuilder

The builder.

Returns

The builder.

Applies to