Dela via


PostTransactionEventArgs.Duration Property

Gets the duration of the transaction from the time it starts until it completes.

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

Syntax

'Declaration
Public ReadOnly Property Duration As TimeSpan
'Usage
Dim instance As PostTransactionEventArgs 
Dim value As TimeSpan 

value = instance.Duration
public TimeSpan Duration { get; }
public:
property TimeSpan Duration {
    TimeSpan get ();
}
public function get Duration () : TimeSpan

Property Value

Type: System.TimeSpan
The duration of the transaction.

.NET Framework Security

See Also

Reference

PostTransactionEventArgs Class

PostTransactionEventArgs Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace