WebTest.EndTransaction Method (String, Boolean)

Ends the specified transaction.

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

Syntax

'Declaration
Public Sub EndTransaction ( _
    transactionName As String, _
    isForIncludedWebTest As Boolean _
)
public void EndTransaction(
    string transactionName,
    bool isForIncludedWebTest
)
public:
void EndTransaction(
    String^ transactionName, 
    bool isForIncludedWebTest
)
member EndTransaction : 
        transactionName:string * 
        isForIncludedWebTest:bool -> unit 
public function EndTransaction(
    transactionName : String, 
    isForIncludedWebTest : boolean
)

Parameters

  • transactionName
    Type: System.String
    The name of the transaction to end.
  • isForIncludedWebTest
    Type: System.Boolean
    true indicates that the named transaction is a transaction that was automatically created to measure the duration of the included Web performance test.

.NET Framework Security

See Also

Reference

WebTest Class

EndTransaction Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace