Dela via


CompositionFailedException Constructors

Definition

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()

Source:
CompositionFailedException.cs
Source:
CompositionFailedException.cs
Source:
CompositionFailedException.cs

Initializes a new instance of the CompositionFailedException class.

public:
 CompositionFailedException();
public CompositionFailedException ();
Public Sub New ()

Applies to

CompositionFailedException(String)

Source:
CompositionFailedException.cs
Source:
CompositionFailedException.cs
Source:
CompositionFailedException.cs

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)

Source:
CompositionFailedException.cs
Source:
CompositionFailedException.cs
Source:
CompositionFailedException.cs

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.

Applies to