Verifies that the currently installed version of Internet Explorer is supported. If not, an exception is thrown.
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
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 | Either the current version of Internet Explorer is not supported by the UI test framework or Internet Explorer is not installed. | 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.