Gets the error message string from the specified module for an
error code.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in
microsoft.configurationmanagement.dll)
Usage
Visual Basic |
Dim errorCode As Integer
Dim moduleName As String
Dim returnValue As String
returnValue = ErrorMessages.LoadErrorMessage(errorCode, moduleName)
|
Syntax
Visual Basic |
Public Shared Function LoadErrorMessage ( _
errorCode As Integer, _
moduleName As String _
) As String
|
C# |
public static string LoadErrorMessage (
int errorCode,
string moduleName
)
|
C++ |
public:
static String^ LoadErrorMessage (
int errorCode,
String^ moduleName
)
|
J# |
public static String LoadErrorMessage (
int errorCode,
String moduleName
)
|
JScript |
public static function LoadErrorMessage (
errorCode : int,
moduleName : String
) : String
|
Parameters
- errorCode
-
[in] Integer indicating the error code.
- moduleName
-
[in] Name of the module from which to get the error message
string.
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