UnexpectedTagNameException Constructor (String, Exception)WebDriver
Initializes a new instance of the UnexpectedTagNameException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public UnexpectedTagNameException(
	string message,
	Exception innerException
)

Parameters

message
Type: OnlineSystem String
The error message that explains the reason for the exception.
innerException
Type: OnlineSystem Exception
The exception that is the cause of the current exception, or   if no inner exception is specified.
See Also