ActivityCreationOptions<T>.Parent Property

Definition

Gets the parent context or parent Id that the activity will get created with.

C#
public T Parent { get; }

Property Value

T

The parent of the activity, represented either as a String or as an ActivityContext.

Applies to

Product Versions
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)