Share via


PostTransactionEventArgs.Duration Property

Gets the duration of the transaction from the time that it starts until it is completed.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property Duration As TimeSpan
public TimeSpan Duration { get; }
public:
property TimeSpan Duration {
    TimeSpan get ();
}
member Duration : TimeSpan
function get Duration () : TimeSpan

Property Value

Type: System.TimeSpan
The duration of the transaction.

.NET Framework Security

See Also

Reference

PostTransactionEventArgs Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace