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
<object property="enumerationMemberName" .../>

Member nameDescription
DuplicateUidMore than one element has the same Uid value.
DuplicateElementThe localized binary XAML (BAML) contains more than one reference to the same element.
IncompleteElementPlaceholderThe element's substitution contains incomplete child placeholders.
InvalidCommentingXmlXml comments do not have the correct format.
InvalidLocalizationAttributesThe localization commenting text contains invalid attributes.
InvalidLocalizationCommentsThe localization commenting text contains invalid comments.
InvalidUidThe Uid does not correspond to any element in the BAML.
MismatchedElementsIndicates a mismatch between substitution and source. The substitution must contain all the element placeholders in the source.
SubstitutionAsPlaintextThe 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.
UidMissingOnChildElementA child element does not have a Uid. As a result, it cannot be represented as a placeholder in the parent's content string.
UnknownFormattingTagA formatting tag in the substitution is not recognized.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2016 Microsoft