Costruttore UITestControlNotFoundException (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)
Inizializza una nuova istanza di UITestControlNotFoundException classe utilizzando le proprietà del controllo principali fornite, le proprietà del controllo subordinate, l'eccezione interna, le ultime informazioni di chiamata, il controllo di test dell'interfaccia utente e il database di origine.
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, _
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
)
Parametri
- primaryProperties
Tipo: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
Le proprietà principali del controllo.
- secondaryProperties
Tipo: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
Le proprietà secondarie del controllo.
- root
Tipo: System.String
In string rappresentazione dell'elemento radice.
- innerException
Tipo: System.Exception
l'eccezione originale che ha causato l'eccezione corrente.
- lastInfo
Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo
ILastInvocationInfo oggetto.
- uiTestControl
Tipo: System.String
Una rappresentazione di stringa di UITestControl ciò è bloccato.
- exceptionSource
Tipo: System.Object
object che è l'origine dell'eccezione.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
UITestControlNotFoundException Classe
Overload UITestControlNotFoundException
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension