初始化 DatabaseProjectPropertySetFailedException 类的新实例。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Sub New ( _
propertyName As String, _
oldValue As String, _
newValue As String, _
innerException As Exception _
)
public DatabaseProjectPropertySetFailedException(
string propertyName,
string oldValue,
string newValue,
Exception innerException
)
public:
DatabaseProjectPropertySetFailedException(
String^ propertyName,
String^ oldValue,
String^ newValue,
Exception^ innerException
)
new :
propertyName:string *
oldValue:string *
newValue:string *
innerException:Exception -> DatabaseProjectPropertySetFailedException
public function DatabaseProjectPropertySetFailedException(
propertyName : String,
oldValue : String,
newValue : String,
innerException : Exception
)
参数
- propertyName
类型:System.String
未能设置的属性的名称。
- oldValue
类型:System.String
尝试要从其进行更改的值。
- newValue
类型:System.String
尝试要更改为的值。
- innerException
类型:System.Exception
原始异常,或为 null。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
DatabaseProjectPropertySetFailedException 类