Dela via


WebTest.EndTransaction Method (String)

Ends a transaction timer with the specified name.

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

Syntax

'Declaration
Public Sub EndTransaction ( _
    transactionName As String _
)
public void EndTransaction(
    string transactionName
)
public:
void EndTransaction(
    String^ transactionName
)
member EndTransaction : 
        transactionName:string -> unit 
public function EndTransaction(
    transactionName : String
)

Parameters

  • transactionName
    Type: System.String
    The name of a transaction timer.

Exceptions

Exception Condition
ArgumentNullException

transactionName is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

WebTest Class

EndTransaction Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

How to: Add a Transaction to a Web Performance Test