DatabaseProjectUpgradeException Constructor (String, Exception)
Initializes a new instance of the DatabaseProjectUpgradeException class.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public DatabaseProjectUpgradeException(
string message,
Exception innerException
)
public:
DatabaseProjectUpgradeException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> DatabaseProjectUpgradeException
public function DatabaseProjectUpgradeException(
message : String,
innerException : Exception
)
Parameters
- message
Type: System.String
The error message that explains the reason for the exception.
- innerException
Type: System.Exception
The exception that is the cause of the current exception, or a null reference (nothing in Visual Basic) if no inner exception is specified.
.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
DatabaseProjectUpgradeException Class
DatabaseProjectUpgradeException Overload
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace