Partager via


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

Initialise une nouvelle instance de la classe UITestControlNotFoundException.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension (dans Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • root
    Type : System.String
    Représentation sous forme de string de l'élément racine.
  • innerException
    Type : System.Exception
    Exception d'origine ayant provoqué l'exception actuelle.
  • exceptionSource
    Type : System.Object
    object qui est la source de l'exception.

Sécurité .NET Framework

Voir aussi

Référence

UITestControlNotFoundException Classe

UITestControlNotFoundException, surcharge

Microsoft.VisualStudio.TestTools.UITest.Extension, espace de noms

UITestControl