Udostępnij za pośrednictwem


ErrorType Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Describes the possible types of errors.

<object property="EnumerationValue"  .../>
value = "EnumerationValue"

Enumeration Values

Value

Description

NoError

No error.

UnknownError

Error is unknown.

InitializeError

Error occurred during initalization.

ParserError

Error occurred during the parsing of XAML content, at a level before the object model was incorporated. Examples include tag mismatches in XML.

ObjectModelError

Error occurred during the object model mapping of XAML content. Examples include name collisions or a required attribute that is missing a value.

RuntimeError

Error occurred in a synchronous method call inside a JavaScript function.

DownloadError

Error occurred during package downloading.

MediaError

Error occurred after a media file failed to load.

ImageError

Error occurred after an image file failed to load.

Managed Equivalent

None. In the managed API, the error-handling is done by handling exceptions, and each exception is of a specific type where the typing is analogous to the ErrorType categorization (parser, runtime, etc.)

Applies To

ErrorType