AlreadyInstalledException Constructor (String, Exception)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a AlreadyInstalledException exception, and specifies an error message and the inner exception that threw it.
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 AlreadyInstalledException(
string message,
Exception inner
)
public:
AlreadyInstalledException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> AlreadyInstalledException
public function AlreadyInstalledException(
message : String,
inner : Exception
)
Parameters
message
Type: System.StringThe text to display.
inner
Type: System.ExceptionThe 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
- 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
AlreadyInstalledException Class