Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageSource.GetMessage(IMessageSourceResolvable, CultureInfo) Method

Resolve the message using all of the attributes contained within the supplied IMessageSourceResolvable argument.

[Visual Basic]
Public Sub GetMessage( _
   ByVal resolvable As IMessageSourceResolvable, _
   ByVal culture As CultureInfo _
string GetMessage(
   IMessageSourceResolvable resolvable,
   CultureInfo culture


The value object storing those attributes that are required to properly resolve a message.
The CultureInfo that represents the culture for which the resource is localized.

Return Value

The resolved message if the lookup was successful (see above for the return value in the case of an unsuccessful lookup).


Exception Type Condition
NoSuchMessageException If the message could not be resolved.

See Also

IMessageSource Interface | Spring.Context Namespace | IMessageSource.GetMessage Overload List