Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageSource.GetMessage(String) Method

Resolve the message identified by the supplied name.

[Visual Basic]
Public NotOverridable Overloads Sub GetMessage( _
   ByVal name As String _
) _
    Implements IMessageSource.GetMessage
[C#]
public string GetMessage(
   string name
);

Parameters

name
The name of the message to resolve.

Return Value

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

Implements

IMessageSource.GetMessage

Remarks

If the lookup is not successful throw NoSuchMessageException

See Also

AbstractMessageSource Class | Spring.Context.Support Namespace | AbstractMessageSource.GetMessage Overload List