ErrorNotify Event
Collapse the table of content
Expand the table of content

BamlLocalizer.ErrorNotify Event

Occurs when the BamlLocalizer encounters abnormal conditions.

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

public event BamlLocalizerErrorNotifyEventHandler ErrorNotify
/** @event */
public void add_ErrorNotify (BamlLocalizerErrorNotifyEventHandler value)

/** @event */
public void remove_ErrorNotify (BamlLocalizerErrorNotifyEventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
You cannot use this event in XAML.

Under normal circumstances, BamlLocalizer ignores errors and continues localizing the source binary XAML (BAML) input. As a result, the output BAML is partially localized. By listening for errors (using the OnErrorNotify method) this event can be used to stop the BamlLocalizer and stop processing a source BAML file.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2015 Microsoft