WebTestPlugin.PostTransaction Method

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 test.

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

Syntax

'Declaration
Public Overridable Sub PostTransaction ( _
    sender As Object, _
    e As PostTransactionEventArgs _
)
'Usage
Dim instance As WebTestPlugin 
Dim sender As Object 
Dim e As PostTransactionEventArgs

instance.PostTransaction(sender, e)
public virtual void PostTransaction(
    Object sender,
    PostTransactionEventArgs e
)
public:
virtual void PostTransaction(
    Object^ sender, 
    PostTransactionEventArgs^ e
)
public function PostTransaction(
    sender : Object, 
    e : PostTransactionEventArgs
)

Parameters

Remarks

The PostTransaction callback is called just after a transaction defined in the Web 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.

.NET Framework Security

See Also

Reference

WebTestPlugin Class

WebTestPlugin Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace