WebTestRequestPlugin.PreRequestDataBinding Method
When overridden in a derived class, this method allows outside code to modify the request parameters before a data binding call.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Overridable Sub PreRequestDataBinding ( _
sender As Object, _
e As PreRequestDataBindingEventArgs _
)
public virtual void PreRequestDataBinding(
Object sender,
PreRequestDataBindingEventArgs e
)
public:
virtual void PreRequestDataBinding(
Object^ sender,
PreRequestDataBindingEventArgs^ e
)
abstract PreRequestDataBinding :
sender:Object *
e:PreRequestDataBindingEventArgs -> unit
override PreRequestDataBinding :
sender:Object *
e:PreRequestDataBindingEventArgs -> unit
public function PreRequestDataBinding(
sender : Object,
e : PreRequestDataBindingEventArgs
)
Parameters
sender
Type: ObjectThe object that fired the event.
e
Type: Microsoft.VisualStudio.TestTools.WebTesting.PreRequestDataBindingEventArgsA PreRequestDatabindingEventArgs object.
Remarks
This method is called just before data binding occurs.
.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.