Compartir a través de


ComponentRegistrationFailedException Constructor (String, Exception)

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public ComponentRegistrationFailedException(
    string message,
    Exception innerException
)
public:
ComponentRegistrationFailedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ComponentRegistrationFailedException
public function ComponentRegistrationFailedException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: 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
    Type: Exception

    The exception that is the cause of the current exception. If the innerException parameter is not nulla null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

.NET Framework Security

See Also

Reference

ComponentRegistrationFailedException Class

ComponentRegistrationFailedException Overload

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace