Rediger

ComposablePartException Class

Definition

The exception that is thrown when an error occurs when calling methods on a ComposablePart object.

public ref class ComposablePartException : Exception
[System.Serializable]
public class ComposablePartException : Exception
public class ComposablePartException : Exception
[<System.Serializable>]
type ComposablePartException = class
    inherit Exception
type ComposablePartException = class
    inherit Exception
Public Class ComposablePartException
Inherits Exception
Inheritance
ComposablePartException
Attributes

Constructors

Name Description
ComposablePartException()

Initializes a new instance of the ComposablePartException class.

ComposablePartException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ComposablePartException class with the specified serialization data.

ComposablePartException(String, Exception)

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

ComposablePartException(String, ICompositionElement, Exception)

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

ComposablePartException(String, ICompositionElement)

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

ComposablePartException(String)

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

Properties

Name Description
Element

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

Methods

Name Description
GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

Gets the serialization data for the exception.

Applies to