Share via


ValidationEventArgs Class

Provides data for the ValidateResponse event.

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

Syntax

'Declaration
Public Class ValidationEventArgs _
    Inherits EventArgs
'Usage
Dim instance As ValidationEventArgs
public class ValidationEventArgs : EventArgs
public ref class ValidationEventArgs : public EventArgs
public class ValidationEventArgs extends EventArgs

Remarks

These event arguments are used for validating requests.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.WebTesting.ValidationEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ValidationEventArgs Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

How to: Create a Custom Validation Rule

How to: Add a Validation Rule to a Web Test