Costruttore UITestControlNotFoundException (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)
Inizializza una nuova istanza della classe UITestControlNotFoundException utilizzando le proprietà di controllo primarie e secondarie, il controllo dell'interfaccia utente radice, il controllo di test dell'interfaccia utente e l'origine specificati.
Spazio dei nomi: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Sintassi
'Dichiarazione
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
)
Parametri
primaryProperties
Tipo: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionProprietà primarie del controllo.
secondaryProperties
Tipo: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionProprietà secondarie del controllo.
root
Tipo: StringRappresentazione string dell'elemento radice.
innerException
Tipo: ExceptionEccezione originale che ha causato l'eccezione corrente.
uiTestControl
Tipo: StringRappresentazione di stringa dell'oggetto UITestControl bloccato.
exceptionSource
Tipo: ObjectOggetto object che rappresenta l'origine dell'eccezione.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
UITestControlNotFoundException Classe
Overload UITestControlNotFoundException
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension