PropertyCannotBeRetrievedException 构造函数 (String, Object)
Initializes a new instance of the PropertyCannotBeRetrievedException class with the specified message and specified inner exception.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
propertyName As String, _
failedObject As Object _
)
用法
Dim propertyName As String
Dim failedObject As Object
Dim instance As New PropertyCannotBeRetrievedException(propertyName, _
failedObject)
public PropertyCannotBeRetrievedException(
string propertyName,
Object failedObject
)
public:
PropertyCannotBeRetrievedException(
String^ propertyName,
Object^ failedObject
)
new :
propertyName:string *
failedObject:Object -> PropertyCannotBeRetrievedException
public function PropertyCannotBeRetrievedException(
propertyName : String,
failedObject : Object
)
参数
- propertyName
类型:System. . :: . .String
A String value that specifies the name of the Property Cannot Be Retrieved exception.
- failedObject
类型:System. . :: . .Object
An Object system object value that specifies the object that owns the Property Cannot Be Retrieved exception.