|
WindowsApiGetErrorMessage Method
|
Formats and returns a .NET string containing the Windows API level error message corresponding to the specified error code.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic static string GetErrorMessage(
int errorCode
)
Public Shared Function GetErrorMessage (
errorCode As Integer
) As String
public:
static String^ GetErrorMessage(
int errorCode
)
static member GetErrorMessage :
errorCode : int -> string
GSF.Interop.WindowsApi.GetErrorMessage = function(errorCode);
View SourceParameters
- errorCode Int32
- An Int32 value corresponding to the specified error code.
Return Value
StringA formatted error message corresponding to the specified error code.
See Also