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
- 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.
See Also
Reference
PostTransactionEventArgs Class