Activity.Parent Property
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.
Gets the parent Activity that created this activity.
public:
property System::Diagnostics::Activity ^ Parent { System::Diagnostics::Activity ^ get(); };
C#
public System.Diagnostics.Activity? Parent { get; }
C#
public System.Diagnostics.Activity Parent { get; }
member this.Parent : System.Diagnostics.Activity
Public ReadOnly Property Parent As Activity
The parent of this Activity, if it is from the same process, or null
if this instance has no parent (it is a root activity) or if the parent is from outside the process.
Продукт | Версії |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: