ErrorMessages.LoadErrorMessage Method (Int32)
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
'Usage
Dim errorCode As Integer
Dim returnValue As String
returnValue = ErrorMessages.LoadErrorMessage(errorCode)
Syntax
'Declaration
Public Shared Function LoadErrorMessage ( _
errorCode As Integer _
) As String
public static string LoadErrorMessage (
int errorCode
)
public:
static String^ LoadErrorMessage (
int errorCode
)
public static String LoadErrorMessage (
int errorCode
)
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
Reference
ErrorMessages Class
ErrorMessages Members
Microsoft.ConfigurationManagement.AdminConsole Namespace