Partager via


FailedToPerformActionOnHiddenControlException, constructeur (String, String, String, Exception, ILastInvocationInfo, String, Object)

Initialise une nouvelle instance de la classe FailedToPerformActionOnBlockedControlException à l'aide du message d'erreur, du nom d'objet, du nom d'action, de l'exception interne, des informations sur le dernier appel, du nom du contrôle de test d'interface utilisateur et de la source fournis.

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, _
    objectName As String, _
    actionName As String, _
    innerException As Exception, _
    lastInfo As ILastInvocationInfo, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public FailedToPerformActionOnHiddenControlException(
    string message,
    string objectName,
    string actionName,
    Exception innerException,
    ILastInvocationInfo lastInfo,
    string uiTestControl,
    Object exceptionSource
)
public:
FailedToPerformActionOnHiddenControlException(
    String^ message, 
    String^ objectName, 
    String^ actionName, 
    Exception^ innerException, 
    ILastInvocationInfo^ lastInfo, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        objectName:string * 
        actionName:string * 
        innerException:Exception * 
        lastInfo:ILastInvocationInfo * 
        uiTestControl:string * 
        exceptionSource:Object -> FailedToPerformActionOnHiddenControlException
public function FailedToPerformActionOnHiddenControlException(
    message : String, 
    objectName : String, 
    actionName : String, 
    innerException : Exception, 
    lastInfo : ILastInvocationInfo, 
    uiTestControl : String, 
    exceptionSource : Object
)

Paramètres

  • message
    Type : String

    Message d'erreur.

  • objectName
    Type : String

    Nom de l'objet pour lequel l'action a échoué.

  • actionName
    Type : String

    Nom de l'action qui a échoué.

  • innerException
    Type : Exception

    Exception d'origine ayant provoqué l'exception actuelle.

  • uiTestControl
    Type : String

    Représentation sous forme de chaîne du UITestControl bloqué.

  • exceptionSource
    Type : Object

    object qui est la source de l'exception.

Sécurité .NET Framework

Voir aussi

Référence

FailedToPerformActionOnHiddenControlException Classe

FailedToPerformActionOnHiddenControlException, surcharge

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

ILastInvocationInfo

UITestControl