UITestControlNotFoundException Oluşturucu (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)
Yeni bir örneğini başlatır UITestControlNotFoundException sınıfı kullanarak sağlanan birincil denetim özellikleri, ikincil denetim özellikleri, kök kullanıcı Arabirimi denetimi, UI sınama denetim ve kaynak.
Ad alanı: Microsoft.VisualStudio.TestTools.UITest.Extension
Derleme: Microsoft.VisualStudio.TestTools.UITest.Extension (Microsoft.VisualStudio.TestTools.UITest.Extension.dll içinde)
Sözdizimi
'Bildirim
Public Sub New ( _
primaryProperties As PropertyExpressionCollection, _
secondaryProperties As PropertyExpressionCollection, _
root As String, _
innerException As Exception, _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotFoundException(
PropertyExpressionCollection primaryProperties,
PropertyExpressionCollection secondaryProperties,
string root,
Exception innerException,
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotFoundException(
PropertyExpressionCollection^ primaryProperties,
PropertyExpressionCollection^ secondaryProperties,
String^ root,
Exception^ innerException,
String^ uiTestControl,
Object^ exceptionSource
)
new :
primaryProperties:PropertyExpressionCollection *
secondaryProperties:PropertyExpressionCollection *
root:string *
innerException:Exception *
uiTestControl:string *
exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
primaryProperties : PropertyExpressionCollection,
secondaryProperties : PropertyExpressionCollection,
root : String,
innerException : Exception,
uiTestControl : String,
exceptionSource : Object
)
Parametreler
- primaryProperties
Tür: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
Denetim birincil özellikleri.
- secondaryProperties
Tür: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
Denetimin özelliklerini ikincil.
- root
Tür: System.String
A string gösterimi kök öğe.
- innerException
Tür: System.Exception
Geçerli özel durum nedeniyle durumun.
- uiTestControl
Tür: System.String
Dize halinde temsilini UITestControl engellenmiş olması.
- exceptionSource
Tür: System.Object
object Yani kaynağı özel durum.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.
Ayrıca bkz.
Başvuru
UITestControlNotFoundException Sınıf
UITestControlNotFoundException Fazla Yük