Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a value indicating whether the request passes validation.
Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property IsValid As Boolean
'Usage
Dim instance As ValidationEventArgs 
Dim value As Boolean 
value = instance.IsValid
instance.IsValid = value
public bool IsValid { get; set; }
public:
property bool IsValid {
    bool get ();
    void set (bool value);
}
public function get IsValid () : boolean 
public function set IsValid (value : boolean)
Property Value
Type: System.Boolean
true if the request passes validation; otherwise, false.
Remarks
If the event handler throws an unhandled exception, IsValid will automatically be set to false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.