We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WebTestPlugin.PreRequestDataBinding Method

When overridden in a derived class, represents the method that will handle the event associated with the start of a databinding call.

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

public virtual void PreRequestDataBinding(
	Object sender,
	PreRequestDataBindingEventArgs e
)

Parameters

sender
Type: System.Object
The source of the event.
e
Type: Microsoft.VisualStudio.TestTools.WebTesting.PreRequestDataBindingEventArgs
A PreRequestDataBindingEventArgs that contains the event data.

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.

Show: