FCFL.NET Common Library - API Reference
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 2003 family

See Also

Reference

IErrorMessageProvider Interface
IErrorMessageProvider Members
CultureInfo class
Developing World-Ready Applications

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.