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
在此异常中换行的内部异常。