CompositionError.Exception Property

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

Gets the exception that is the underlying cause of the composition error.

Namespace:  System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Syntax

'Declaration
Public ReadOnly Property Exception As Exception
public Exception Exception { get; }

Property Value

Type: System.Exception
The exception that is the underlying cause of the CompositionError. The default is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.