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

Visual Basic
Dim instance As ControlsValidator
Dim value As String

value = instance.CurrentErrorMessage

Syntax

Visual Basic
Public ReadOnly Property CurrentErrorMessage As String
C#
public string CurrentErrorMessage { get; }
C++
public:
property String^ CurrentErrorMessage {
		String^ get ();
}
J#
/** @property */
public String get_CurrentErrorMessage ()
JScript
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