InstallByMsiException Constructor (String, Exception)
Creates an InstallByMsiException object that has an error message and exposes the inner exception that threw it.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣告
Public Sub New ( _
message As String, _
inner As Exception _
)
public InstallByMsiException(
string message,
Exception inner
)
public:
InstallByMsiException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> InstallByMsiException
public function InstallByMsiException(
message : String,
inner : Exception
)
Parameters
- message
Type: System.String
The text to display.
- inner
Type: System.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
- 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.