ComponentRegistrationFailedException 构造函数

定义

重载

ComponentRegistrationFailedException()

仅供 Microsoft 内部使用。

ComponentRegistrationFailedException(String)

仅供 Microsoft 内部使用。

ComponentRegistrationFailedException(SerializationInfo, StreamingContext)

仅供 Microsoft 内部使用。

ComponentRegistrationFailedException(String, Exception)

仅供 Microsoft 内部使用。

ComponentRegistrationFailedException()

仅供 Microsoft 内部使用。

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

注解

属性
InnerException null.
Message 本地化的错误消息字符串。

适用于

ComponentRegistrationFailedException(String)

仅供 Microsoft 内部使用。

public:
 ComponentRegistrationFailedException(System::String ^ message);
public:
 ComponentRegistrationFailedException(Platform::String ^ message);
 ComponentRegistrationFailedException(std::wstring const & message);
public ComponentRegistrationFailedException (string message);
new Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ComponentRegistrationFailedException : string -> Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ComponentRegistrationFailedException
Public Sub New (message As String)

参数

message
String

描述该异常的消息。 此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。

适用于

ComponentRegistrationFailedException(SerializationInfo, StreamingContext)

仅供 Microsoft 内部使用。

protected:
 ComponentRegistrationFailedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ComponentRegistrationFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ComponentRegistrationFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ComponentRegistrationFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

承载序列化对象数据的对象。

context
StreamingContext

关于来源和目标的上下文信息

适用于

ComponentRegistrationFailedException(String, Exception)

仅供 Microsoft 内部使用。

public:
 ComponentRegistrationFailedException(System::String ^ message, Exception ^ innerException);
public ComponentRegistrationFailedException (string message, Exception innerException);
new Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ComponentRegistrationFailedException : string * Exception -> Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ComponentRegistrationFailedException
Public Sub New (message As String, innerException As Exception)

参数

message
String

描述该异常的消息。 此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。

innerException
Exception

导致当前异常的异常。 如果 innerException 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。

适用于