Compartilhar via


Validator.MessageTemplate Property

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.

Gets or sets the message template to use when logging results.

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

Syntax

'Declaration
PublicPropertyMessageTemplateAs String
public string MessageTemplate { get; set; }
public:
property String^ MessageTemplate {
    String^ get ();
    voidset (String^ value);
}
publicfunction getMessageTemplate () : String
publicfunction setMessageTemplate (value : String)

Remarks

The DefaultMessageTemplate will be returned if no message was specified.

See Also

Validator Class

Microsoft.Practices.EnterpriseLibrary.Validation 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.