<PackageReference Include="Grpc.Core.Api" Version="2.67.0-pre1" />

Grpc.Core.ContextPropagationOptions

public static readonly ContextPropagationOptions Default

The context propagation options that will be used by default.

public bool IsPropagateCancellation { get; }

true if parent call's cancellation token should be propagated to the child call.

public bool IsPropagateDeadline { get; }

true if parent call's deadline should be propagated to the child call.

public ContextPropagationOptions(bool propagateDeadline = true, bool propagateCancellation = true)

Creates new context propagation options.