ServerValidateEventArgs(String, Boolean) Constructor

Definition

Initializes a new instance of the ServerValidateEventArgs class.

C#
public ServerValidateEventArgs(string value, bool isValid);

Parameters

value
String

The value to validate.

isValid
Boolean

true to indicate that the value passes validation; otherwise, false.

Remarks

Use this constructor to create and initialize a new instance of the ServerValidateEventArgs class.

The following table shows initial property values for an instance of ServerValidateEventArgs.

Property Initial Value
Value The value of the value parameter.
IsValid The value of the isValid parameter.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also