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 : StringMessage d'erreur.
objectName
Type : StringNom de l'objet pour lequel l'action a échoué.
actionName
Type : StringNom de l'action qui a échoué.
innerException
Type : ExceptionException d'origine ayant provoqué l'exception actuelle.
lastInfo
Type : Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfoObjet ILastInvocationInfo.
uiTestControl
Type : StringReprésentation sous forme de chaîne du UITestControl bloqué.
exceptionSource
Type : Objectobject qui est la source de l'exception.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
FailedToPerformActionOnHiddenControlException Classe
FailedToPerformActionOnHiddenControlException, surcharge
Microsoft.VisualStudio.TestTools.UITest.Extension, espace de noms