Partager via


ControlsValidator Members

Controls the validation state and error display for a set of controls. This class supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.

The following tables list the members exposed by the ControlsValidator type.

Public Constructors

  Name Description
  ControlsValidator Initializes a new instance of ControlsValidator. This class supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.

Top

Public Properties

  Name Description
public property CurrentErrorMessage Gets the error message of the current invalid control. This property supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public property CurrentInvalidControl Gets the current invalid control. This property supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method AddControl Adds a control to the validator, but specifies that actual validation will be performed by the specified evaluator. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public method AddTextControl Adds a text control to be managed by the controls validator. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public method AllControlsAreValid Determines whether all controls are valid. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public method Dispose Overloaded.  
public method Equals  Overloaded. (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public methodstatic ReferenceEquals  (inherited from Object)
public method ResetControlError Resets the data state of an externally-managed control to Valid. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public method SetActiveValidationRule Sets the active validation rule for the specified control. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public method SetControlError Sets an error for an internally-managed control or a delegate-managed control. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public method SetErrorString Sets a control error string that might be reused in a different context. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
public method ToString  (inherited from Object)
public method ValidateAll Validates all internally-managed controls and delegate-managed controls. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.

Top

Protected Methods

  Name Description
protected method Dispose Overloaded.  
protected method EvaluateControl Evaluates the data for the specified control and sets the ErrorProvider state as necessary. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)
protected method ResetControlErrorInfo Resets error data for one control. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.

Top

See Also

Reference

ControlsValidator Class
Microsoft.ConfigurationManagement.AdminConsole Namespace