次の方法で共有


ComponentRegistrationFailedException Constructors

Definition

Overloads

ComponentRegistrationFailedException()

Microsoft internal use only.

ComponentRegistrationFailedException(String)

Microsoft internal use only.

ComponentRegistrationFailedException(SerializationInfo, StreamingContext)
Obsolete.

Microsoft internal use only.

ComponentRegistrationFailedException(String, Exception)

Microsoft internal use only.

ComponentRegistrationFailedException()

Microsoft internal use only.

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

Remarks

Property Value
InnerException null.
Message The localized error message string.

Applies to

ComponentRegistrationFailedException(String)

Microsoft internal use only.

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)

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Applies to

ComponentRegistrationFailedException(SerializationInfo, StreamingContext)

Caution

This API is now deprecated.

Microsoft internal use only.

protected:
 ComponentRegistrationFailedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ComponentRegistrationFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
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
[<System.Obsolete>]
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)

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Attributes

Applies to

ComponentRegistrationFailedException(String, Exception)

Microsoft internal use only.

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)

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to