Partager via


IESettings.ThrowIfBrowserVersionNotSupported, méthode

Vérifie que la version actuellement installée de Internet Explorer est prise en charge. Dans le cas contraire, une exception est levée.

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

Syntaxe

'Déclaration
Public Shared Sub ThrowIfBrowserVersionNotSupported
public static void ThrowIfBrowserVersionNotSupported()
public:
static void ThrowIfBrowserVersionNotSupported()
static member ThrowIfBrowserVersionNotSupported : unit -> unit 
public static function ThrowIfBrowserVersionNotSupported()

Exceptions

Exception Condition
TechnologyNotSupportedException

La version actuelle d'Internet d'Internet Explorer n'est pas non plus prise en charge par l'infrastructure de test de l'interface utilisateur ou Internet Explorer n'est pas installé.

Sécurité .NET Framework

Voir aussi

Référence

IESettings Classe

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