Share via


WebTest.PostRequest Event

Occurs after each request this Web test runs.

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

Syntax

'Declaration
Public Event PostRequest As EventHandler(Of PostRequestEventArgs)
'Usage
Dim instance As WebTest 
Dim handler As EventHandler(Of PostRequestEventArgs)

AddHandler instance.PostRequest, handler
public event EventHandler<PostRequestEventArgs> PostRequest
public:
 event EventHandler<PostRequestEventArgs^>^ PostRequest {
    void add (EventHandler<PostRequestEventArgs^>^ value);
    void remove (EventHandler<PostRequestEventArgs^>^ value);
}
JScript does not support events.

Remarks

For more information about how to handle events, see Consuming Events.

.NET Framework Security

See Also

Reference

WebTest Class

WebTest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace