Share via


SystemComponentException Constructor (String, Exception)

Creates a SystemComponentException object that has an error message and exposes the inner exception.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

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

Parameters

  • message
    Type: String

    The text to display.

  • inner
    Type: Exception

    The inner exception that threw the current exception.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

SystemComponentException Class

SystemComponentException Overload

Microsoft.VisualStudio.ExtensionManager Namespace