PropertyCannotBeRetrievedException Oluşturucusu (String, Object)
Yeni bir başlatır örnek , PropertyCannotBeRetrievedException sınıfı için belirtilen ileti ve belirtilen iç özel durum.
Ad Alanı: Microsoft.SqlServer.Management.Smo
Derleme: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)
Sözdizimi
'Bildirim
Public Sub New ( _
propertyName As String, _
failedObject As Object _
)
'Kullanım
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
)
Parametreler
- propertyName
Tür: System.String
A String değer adını belirtirözelliği olamaz alınan özel.
- failedObject
Tür: System.Object
Bir Object Sistem nesnesi değeri belirtir, nesnenin sahibi özelliği olamaz alınan özel durum.