ValidationEventArgs.IsValid Property
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
public bool IsValid { get; set; }
public:
property bool IsValid {
bool get ();
void set (bool value);
}
member IsValid : bool with get, set
function get IsValid () : boolean
function set IsValid (value : boolean)
Property Value
Type: 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.