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
'宣告
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: System.String
The text to display.
- impactedExtensions
Type: System.Collections.Generic.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BreaksExistingExtensionsException Class