Partilhar via


ControlsValidator.CurrentErrorMessage Property

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.

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

Usage

'Usage
Dim instance As ControlsValidator
Dim value As String

value = instance.CurrentErrorMessage

Syntax

'Declaration
Public ReadOnly Property CurrentErrorMessage As String
public string CurrentErrorMessage { get; }
public:
property String^ CurrentErrorMessage {
    String^ get ();
}
/** @property */
public String get_CurrentErrorMessage ()
public function get CurrentErrorMessage () : String

Property Value

Error message of the current invalid control. If all controls are valid, this property returns an empty string.

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 Class
ControlsValidator Members
Microsoft.ConfigurationManagement.AdminConsole Namespace