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 with get
function get Duration () : TimeSpan
Property Value
Type: TimeSpan
The duration of the transaction.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.