ValidateResponse Event
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

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)

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

AddHandler instance.ValidateResponse, handler

/** @event */
public void add_ValidateResponse (EventHandler<ValidationEventArgs> value)

/** @event */
public void remove_ValidateResponse (EventHandler<ValidationEventArgs> value)

JScript supports the use of events, but not the declaration of new ones.

Used for making sure the response was valid.

Show:
© 2016 Microsoft