BamlLocalizerError Enumeration

BamlLocalizerError Enumeration

 

Specifies error conditions that may be encountered by the BamlLocalizer.

Namespace:   System.Windows.Markup.Localizer
Assembly:  PresentationFramework (in PresentationFramework.dll)

public enum BamlLocalizerError

Member nameDescription
DuplicateElement

The localized BAML contains more than one reference to the same element.

DuplicateUid

More than one element has the same Uid value.

IncompleteElementPlaceholder

The element's substitution contains incomplete child placeholders.

InvalidCommentingXml

XML comments do not have the correct format.

InvalidLocalizationAttributes

The localization commenting text contains invalid attributes.

InvalidLocalizationComments

The localization commenting text contains invalid comments.

InvalidUid

The Uid does not correspond to any element in the BAML source.

MismatchedElements

Indicates a mismatch between substitution and source. The substitution must contain all the element placeholders in the source.

SubstitutionAsPlaintext

The substitution of an element's content cannot be parsed as XML, therefore any formatting tags in the substitution are not recognized. The substitution is instead applied as plain text.

UidMissingOnChildElement

A child element does not have a Uid. As a result, it cannot be represented as a placeholder in the parent's content string.

UnknownFormattingTag

A formatting tag in the substitution is not recognized.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft