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)
public event EventHandler<ValidationEventArgs> ValidateResponse
public:
 event EventHandler<ValidationEventArgs^>^ ValidateResponse {
    void add (EventHandler<ValidationEventArgs^>^ value);
    void remove (EventHandler<ValidationEventArgs^>^ value);
}
member ValidateResponse : IEvent<EventHandler<ValidationEventArgs>,
    ValidationEventArgs>
JScript does not support events.

Remarks

Used to make sure that the response was valid.

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace