Share via


ValidatorData.MessageTemplateResourceTypeName 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 name of the type to retrieve the message template to use when logging validation results.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("messageTemplateResourceType")> _
PublicPropertyMessageTemplateResourceTypeNameAs String
[ConfigurationPropertyAttribute("messageTemplateResourceType")]
public string MessageTemplateResourceTypeName { get; set; }
[ConfigurationPropertyAttribute(L"messageTemplateResourceType")]
public:
property String^ MessageTemplateResourceTypeName {
    String^ get ();
    voidset (String^ value);
}
publicfunction getMessageTemplateResourceTypeName () : String
publicfunction setMessageTemplateResourceTypeName (value : String)

Remarks

Used in combination with MessageTemplateResourceName.

Either the MessageTemplate or the pair MessageTemplate and MessageTemplateResourceTypeName can be used to provide a message template for the represented validator.

If both the template and the resource reference are specified, the template will be used.

See Also

ValidatorData Class

Microsoft.Practices.EnterpriseLibrary.Validation.Configuration Namespace

ValidatorData.MessageTemplate

ValidatorData.MessageTemplateResourceName

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.