Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CompositionError Class

 

Represents an error that occurred during composition.

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

System::Object
  System.ComponentModel.Composition::CompositionError

[SerializableAttribute]
public ref class CompositionError 

NameDescription
System_CAPS_pubmethodCompositionError(String^)

Initializes a new instance of the CompositionError class with the specified error message.

System_CAPS_pubmethodCompositionError(String^, Exception^)

Initializes a new instance of the CompositionError class with the specified error message and the exception that is the cause of the composition error.

System_CAPS_pubmethodCompositionError(String^, ICompositionElement^)

Initializes a new instance of the CompositionError class with the specified error message and the composition element that is the cause of the composition error.

System_CAPS_pubmethodCompositionError(String^, ICompositionElement^, Exception^)

Initializes a new instance of the CompositionError class with the specified error message, and the composition element and exception that are the cause of the composition error.

NameDescription
System_CAPS_pubpropertyDescription

Gets a description of the composition error.

System_CAPS_pubpropertyElement

Gets the composition element that is the cause of the error.

System_CAPS_pubpropertyException

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

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string representation of the composition error.(Overrides Object::ToString().)

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft