共用方式為


ControlsValidator Class

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.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As ControlsValidator

Syntax

'Declaration
Public Class ControlsValidator
    Implements IDisposable
public class ControlsValidator : IDisposable
public ref class ControlsValidator : IDisposable
public class ControlsValidator implements IDisposable
public class ControlsValidator implements IDisposable

Remarks

This class categorizes controls as follows:

  • Internally-managed controls and delegate-managed controls. These controls are registered with a validation rule or evaluation delegate. The ControlsValidator object internally determines the error state of this type of control by evaluating the associated rule or invoking the delegate.

  • Externally-managed controls. These controls are not registered and have no corresponding validation rules. An external application can set and reset the error state of this type of control manually.

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.AdminConsole.ControlsValidator

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.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ControlsValidator Members
Microsoft.ConfigurationManagement.AdminConsole Namespace