Condividi tramite


Costruttore UITestControlNotFoundException (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)

Inizializza una nuova istanza di UITestControlNotFoundException classe utilizzando le proprietà del controllo principali fornite, le proprietà del controllo subordinate, il controllo dell'interfaccia utente radice, 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, _
    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

  • root
    Tipo: System.String
    In string rappresentazione dell'elemento radice.
  • innerException
    Tipo: System.Exception
    l'eccezione originale che ha causato l'eccezione corrente.
  • exceptionSource
    Tipo: System.Object
    object che è l'origine dell'eccezione.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestControlNotFoundException Classe

Overload UITestControlNotFoundException

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension

UITestControl