In this post, Deborah Kurata demonstrates how to use a resource file with the validation attributes used by Silverlight and WCF RIA Services.
Source: Deborah's Developer MindScape
Use a resource file any time you want better management of your strings, especially if you plan to localize your application.