Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestPlugin.PostTransaction Method (Object, PostTransactionEventArgs)

 

When overridden in a derived class, represents the method that will handle the event associated with the completion of a transaction that is defined in the Web performance test.

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

public virtual void PostTransaction(
	object sender,
	PostTransactionEventArgs e
)

Parameters

sender
Type: System.Object

The source of the event.

e
Type: Microsoft.VisualStudio.TestTools.WebTesting.PostTransactionEventArgs

A PostTransactionEventArgs that contains the event data.

The PostTransaction callback is called just after a transaction defined in the Web performance test has ended.

Because this method is virtual, the author of the WebTestPlugin can decide whether to implement it. If it is not implemented, the base class implementation is called, but it does nothing other than to return immediately.

Legacy Code Example

Return to top
Show: