A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activity.duration below:

Activity.Duration Property (System.Diagnostics) | Microsoft Learn

Activity.Duration Property Definition

Gets the duration of the operation.

public:
 property TimeSpan Duration { TimeSpan get(); };
public TimeSpan Duration { get; }
member this.Duration : TimeSpan
Public ReadOnly Property Duration As TimeSpan
Property Value

The delta between StartTimeUtc and the end time if the Activity has ended (Stop() or SetEndTime(DateTime) was called), or Zero if the Activity has not ended and SetEndTime(DateTime) was not called.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4