InvalidExtensionPackageException Constructor (String, Exception)
Creates an InvalidExtensionPackageException instance 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 InvalidExtensionPackageException(
string message,
Exception inner
)
public:
InvalidExtensionPackageException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> InvalidExtensionPackageException
public function InvalidExtensionPackageException(
message : String,
inner : Exception
)
Parameters
message
Type: StringThe text to display.
inner
Type: ExceptionThe inner exception that triggered 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
InvalidExtensionPackageException Class