Condividi tramite


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

Inizializza una nuova istanza della classe UITestControlNotFoundException.

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 ( _
    message As String, _
    primaryProperties As PropertyExpressionCollection, _
    secondaryProperties As PropertyExpressionCollection, _
    root As String, _
    innerException As Exception, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotFoundException(
    string message,
    PropertyExpressionCollection primaryProperties,
    PropertyExpressionCollection secondaryProperties,
    string root,
    Exception innerException,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotFoundException(
    String^ message, 
    PropertyExpressionCollection^ primaryProperties, 
    PropertyExpressionCollection^ secondaryProperties, 
    String^ root, 
    Exception^ innerException, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        primaryProperties:PropertyExpressionCollection * 
        secondaryProperties:PropertyExpressionCollection * 
        root:string * 
        innerException:Exception * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
    message : String, 
    primaryProperties : PropertyExpressionCollection, 
    secondaryProperties : PropertyExpressionCollection, 
    root : String, 
    innerException : Exception, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parametri

  • message
    Tipo: String

    Messaggio di errore.

  • root
    Tipo: String

    Rappresentazione string dell'elemento radice.

  • innerException
    Tipo: Exception

    Eccezione originale che ha causato l'eccezione corrente.

  • uiTestControl
    Tipo: String

    Rappresentazione di stringa dell'oggetto UITestControl bloccato.

  • exceptionSource
    Tipo: Object

    Oggetto object che rappresenta l'origine dell'eccezione.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestControlNotFoundException Classe

Overload UITestControlNotFoundException

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

UITestControl