BaseValidationAttribute.GetMessageTemplate Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the message template for the represented validator.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)

Syntax

'Declaration
Protected FriendFunctionGetMessageTemplateAs String
protected internal string GetMessageTemplate()
protected public:
String^ GetMessageTemplate()
protected internalfunctionGetMessageTemplate() : String

Remarks

The textual message is given precedence over the resource based mechanism.

See Also

BaseValidationAttribute Class

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.