GetMessageFormat Method
The message ID whose string value to load.
Called by FCExceptionBase Class when a specific error message string resource is required.
Syntax
'Declaration
Function GetMessageFormat( _
ByVal _messageId_ As String _
) As String
string GetMessageFormat(
string _messageId_
)
Parameters
messageId
The message ID whose string value to load.
Return Value
The value of the string resource for this message ID and current culture.
Remarks
If you wish to provide internationalized culture-specific error messages, use the CultureInfo.CurrentCulture property to determine which culture's resource to return.
NOTE: If a message string cannot be loaded for this message ID, simple return null (Nothing in Visual Basic) and an attempt will be made by FCExceptionBase to load a default string in the default culture (en-US).
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
IErrorMessageProvider Interface
IErrorMessageProvider Members
CultureInfo class
Developing World-Ready Applications