WebTest.BeginTransaction Method
Starts a transaction timer by using the specified name.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub BeginTransaction ( _
transactionName As String _
)
public void BeginTransaction(
string transactionName
)
public:
void BeginTransaction(
String^ transactionName
)
member BeginTransaction :
transactionName:string -> unit
public function BeginTransaction(
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
- 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
Microsoft.VisualStudio.TestTools.WebTesting Namespace