Determines a default error message for the given error code.
Syntax
'Declaration
<LocalizationRequiredAttribute(True)>
<NotNullAttribute()>
Protected Shared Function MakeDefaultMessage( _
ByVal As Enum _
) As String
'Usage
Dim code As Enum
Dim value As String
value = GenericError.MakeDefaultMessage(code)
[LocalizationRequired(true)]
[NotNull()]
protected static string MakeDefaultMessage(
Enum
)
[LocalizationRequired(true)]
[NotNull()]
protected:
static String^ MakeDefaultMessage(
Enum^
)
Parameters
- code
- The code of the error.
Return Value
Returns a default error message.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also