This documentation is archived and is not being maintained.

BamlLocalizerError Enumeration

Specifies error conditions that may be encountered by the BamlLocalizer.

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

public enum class BamlLocalizerError
<object property="enumerationMemberName" .../>

Member nameDescription
DuplicateUidMore than one element has the same Uid value.
DuplicateElementThe localized 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 source.
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.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: