CompositionContractMismatchException Class
Definition
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.
The exception that is thrown when the underlying exported value or metadata of a Lazy<T> or Lazy<T,TMetadata> object cannot be cast to T or TMetadataView, respectively.
public ref class CompositionContractMismatchException : Exception
[System.Serializable]
public class CompositionContractMismatchException : Exception
public class CompositionContractMismatchException : Exception
[<System.Serializable>]
type CompositionContractMismatchException = class
inherit Exception
type CompositionContractMismatchException = class
inherit Exception
Public Class CompositionContractMismatchException
Inherits Exception
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| CompositionContractMismatchException() |
Initializes a new instance of the CompositionContractMismatchException class with a system-supplied message that describes the error. |
| CompositionContractMismatchException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the CompositionContractMismatchException class with serialized data. |
| CompositionContractMismatchException(String, Exception) |
Initializes a new instance of the CompositionContractMismatchException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
| CompositionContractMismatchException(String) |
Initializes a new instance of the CompositionContractMismatchException class with a specified message that describes the error. |