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: StringThe name of the transaction to end.
isForIncludedWebTest
Type: Booleantrue 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
- 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.