Share via


WebTestRequest.ValidateResponse Event

Occurs immediately after the response is received.

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

Syntax

'Declaration
Public Event ValidateResponse As EventHandler(Of ValidationEventArgs)
'Usage
Dim instance As WebTestRequest 
Dim handler As EventHandler(Of ValidationEventArgs)

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

Remarks

Used for making sure the response was valid.

.NET Framework Security

See Also

Reference

WebTestRequest Class

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace