Activity.Context 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 context of the activity. Context becomes valid only if the activity has been started.
public:
property System::Diagnostics::ActivityContext Context { System::Diagnostics::ActivityContext get(); };
C#
public System.Diagnostics.ActivityContext Context { get; }
member this.Context : System.Diagnostics.ActivityContext
Public ReadOnly Property Context As ActivityContext
The context of the activity, if the activity has been started; otherwise, returns the default context.
Tuote | Versiot |
---|---|
.NET | 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.
Tuotteen .NET palaute
.NET on avoin lähdekoodi projekti. Anna palautetta valitsemalla linkki: