Class ContextPropagationToken (2.48.0)

public abstract class ContextPropagationToken : object

Token for propagating context of server side handlers to child calls. In situations when a backend is making calls to another backend, it makes sense to propagate properties like deadline and cancellation token of the server call to the child call. Underlying gRPC implementation may provide other "opaque" contexts (like tracing context) that are not explicitly accesible via the public C# API, but this token still allows propagating them.

Inheritance

Object > ContextPropagationToken

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll