CompositionFailedException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CompositionFailedException() |
初始化 CompositionFailedException 类的新实例。 |
| CompositionFailedException(String) |
使用指定的消息初始化类的新实例 CompositionFailedException 。 |
| CompositionFailedException(String, Exception) |
使用指定的消息和内部异常初始化类的新实例 CompositionFailedException 。 |
CompositionFailedException()
初始化 CompositionFailedException 类的新实例。
public:
CompositionFailedException();
public CompositionFailedException();
Public Sub New ()
适用于
CompositionFailedException(String)
使用指定的消息初始化类的新实例 CompositionFailedException 。
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)
参数
- message
- String
一条消息,其中包含有关异常的信息。
适用于
CompositionFailedException(String, Exception)
使用指定的消息和内部异常初始化类的新实例 CompositionFailedException 。
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)
参数
- message
- String
一条消息,其中包含有关异常的信息。
- innerException
- Exception
要包装在此异常中的内部异常。