CompositionError Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an error that occurred during composition.
public ref class CompositionError
public class CompositionError
[System.Serializable]
public class CompositionError
type CompositionError = class
[<System.Serializable>]
type CompositionError = class
Public Class CompositionError
- Inheritance
-
CompositionError
- Attributes
Composition |
Initializes a new instance of the CompositionError class with the specified error message and the exception that is the cause of the composition error. |
Composition |
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. |
Composition |
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. |
Composition |
Initializes a new instance of the CompositionError class with the specified error message. |
Description |
Gets a description of the composition error. |
Element |
Gets the composition element that is the cause of the error. |
Exception |
Gets the exception that is the underlying cause of the composition error. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string representation of the composition error. |
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: