Share via


BreaksExistingExtensionsException Constructor (String, IEnumerable<IExtension>)

Creates a BreaksExistingExtensionsException that has an error message and specifies the impacted extensions.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    impactedExtensions As IEnumerable(Of IExtension) _
)
public BreaksExistingExtensionsException(
    string message,
    IEnumerable<IExtension> impactedExtensions
)
public:
BreaksExistingExtensionsException(
    String^ message, 
    IEnumerable<IExtension^>^ impactedExtensions
)
new : 
        message:string * 
        impactedExtensions:IEnumerable<IExtension> -> BreaksExistingExtensionsException
public function BreaksExistingExtensionsException(
    message : String, 
    impactedExtensions : IEnumerable<IExtension>
)

Parameters

  • message
    Type: String

    The text to display.

  • impactedExtensions
    Type: IEnumerable<IExtension>

    A collection of IExtension objects that represent the affected extensions.

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

BreaksExistingExtensionsException Class

BreaksExistingExtensionsException Overload

Microsoft.VisualStudio.ExtensionManager Namespace