CompositionFailedException Constructors
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.
Overloads
CompositionFailedException() |
Initializes a new instance of the CompositionFailedException class. |
CompositionFailedException(String) |
Initializes a new instance of the CompositionFailedException class with the specified message. |
CompositionFailedException(String, Exception) |
Initializes a new instance of the CompositionFailedException class with the specified message and inner exception. |
CompositionFailedException()
Initializes a new instance of the CompositionFailedException class.
public:
CompositionFailedException();
public CompositionFailedException ();
Public Sub New ()
Applies to
CompositionFailedException(String)
Initializes a new instance of the CompositionFailedException class with the specified message.
public:
CompositionFailedException(System::String ^ message);
public CompositionFailedException (string message);
new System.Composition.Hosting.CompositionFailedException : string -> System.Composition.Hosting.CompositionFailedException
Public Sub New (message As String)
Parameters
- message
- String
A message that contains information about the exception.
Applies to
CompositionFailedException(String, Exception)
Initializes a new instance of the CompositionFailedException class with the specified message and inner exception.
public:
CompositionFailedException(System::String ^ message, Exception ^ innerException);
public CompositionFailedException (string message, Exception innerException);
new System.Composition.Hosting.CompositionFailedException : string * Exception -> System.Composition.Hosting.CompositionFailedException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
A message that contains information about the exception.
- innerException
- Exception
The inner exception to wrap in this exception.