Share via


WebTestRequest.PreRequest Event

Occurs before the request is sent.

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

Syntax

'Declaration
Public Event PreRequest As EventHandler(Of PreRequestEventArgs)
public event EventHandler<PreRequestEventArgs> PreRequest
public:
 event EventHandler<PreRequestEventArgs^>^ PreRequest {
    void add (EventHandler<PreRequestEventArgs^>^ value);
    void remove (EventHandler<PreRequestEventArgs^>^ value);
}
member PreRequest : IEvent<EventHandler<PreRequestEventArgs>,
    PreRequestEventArgs>
JScript does not support events.

Remarks

Data binding has already occurred.

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace