[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eContextPropagationOptions\u003c/code\u003e is a class that configures options for \u003ccode\u003eContextPropagationToken\u003c/code\u003e, controlling how context is passed between parent and child calls.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a constructor that allows setting whether to propagate the parent call's deadline and/or cancellation token to the child call, both of which are set to \u003ccode\u003etrue\u003c/code\u003e by default.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDefault\u003c/code\u003e field is a static field providing the default \u003ccode\u003eContextPropagationOptions\u003c/code\u003e that the application will utilize if no other are set.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIsPropagateCancellation\u003c/code\u003e and \u003ccode\u003eIsPropagateDeadline\u003c/code\u003e properties indicate whether the parent call's cancellation token and deadline are propagated to the child call, respectively.\u003c/p\u003e\n"]]],[],null,["# Class ContextPropagationOptions (2.66.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.66.0 (latest)](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ContextPropagationOptions)\n- [2.63.0](/dotnet/docs/reference/Grpc.Core/2.63.0/Grpc.Core.ContextPropagationOptions)\n- [2.48.0](/dotnet/docs/reference/Grpc.Core/2.48.0/Grpc.Core.ContextPropagationOptions) \n\n public class ContextPropagationOptions\n\nOptions for [ContextPropagationToken](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ContextPropagationToken). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ContextPropagationOptions \n\nInherited Members\n-----------------\n\n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) \n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grpc.Core](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core)\n\nAssembly\n--------\n\nGrpc.Core.Api.dll\n\nConstructors\n------------\n\n### ContextPropagationOptions(bool, bool)\n\n public ContextPropagationOptions(bool propagateDeadline = true, bool propagateCancellation = true)\n\nCreates new context propagation options.\n\nFields\n------\n\n### Default\n\n public static readonly ContextPropagationOptions Default\n\nThe context propagation options that will be used by default.\n\nProperties\n----------\n\n### IsPropagateCancellation\n\n public bool IsPropagateCancellation { get; }\n\n`true` if parent call's cancellation token should be propagated to the child call.\n\n### IsPropagateDeadline\n\n public bool IsPropagateDeadline { get; }\n\n`true` if parent call's deadline should be propagated to the child call."]]