Gets the error message string from the Windows operating system for
the specified error code.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in
microsoft.configurationmanagement.dll)
Usage
Visual Basic |
Dim errorCode As Integer
Dim returnValue As String
returnValue = ErrorMessages.LoadErrorMessage(errorCode)
|
Syntax
Visual Basic |
Public Shared Function LoadErrorMessage ( _
errorCode As Integer _
) As String
|
C# |
public static string LoadErrorMessage (
int errorCode
)
|
C++ |
public:
static String^ LoadErrorMessage (
int errorCode
)
|
J# |
public static String LoadErrorMessage (
int errorCode
)
|
JScript |
public static function LoadErrorMessage (
errorCode : int
) : String
|
Parameters
- errorCode
-
[in] Integer that indicates the error code.
Return Value
Error message 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