UITestControlNotFoundException Oluşturucu (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)
Yeni bir örneğini başlatır UITestControlNotFoundException sınıfı kullanarak sağlanan birincil denetim özellikleri, ikincil denetim özellikleri, iç özel duruma, son çağırma bilgi, 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, _
lastInfo As ILastInvocationInfo, _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotFoundException(
PropertyExpressionCollection primaryProperties,
PropertyExpressionCollection secondaryProperties,
string root,
Exception innerException,
ILastInvocationInfo lastInfo,
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotFoundException(
PropertyExpressionCollection^ primaryProperties,
PropertyExpressionCollection^ secondaryProperties,
String^ root,
Exception^ innerException,
ILastInvocationInfo^ lastInfo,
String^ uiTestControl,
Object^ exceptionSource
)
new :
primaryProperties:PropertyExpressionCollection *
secondaryProperties:PropertyExpressionCollection *
root:string *
innerException:Exception *
lastInfo:ILastInvocationInfo *
uiTestControl:string *
exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
primaryProperties : PropertyExpressionCollection,
secondaryProperties : PropertyExpressionCollection,
root : String,
innerException : Exception,
lastInfo : ILastInvocationInfo,
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.
- lastInfo
Tür: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo
Bir ILastInvocationInfo nesne.
- 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