C# Class OpenQA.Selenium.NoSuchElementException

Inheritance: WebDriverException
Mostrar archivo Open project: epall/selenium Class Usage Examples

Public Methods

Method Description
NoSuchElementException ( ) : System

Initializes a new instance of the NoSuchElementException class.

NoSuchElementException ( string message ) : System

Initializes a new instance of the NoSuchElementException class with a specified error message.

NoSuchElementException ( string message, Exception innerException ) : System

Initializes a new instance of the NoSuchElementException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Protected Methods

Method Description
NoSuchElementException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the NoSuchElementException class with serialized data.

Method Details

NoSuchElementException() public method

Initializes a new instance of the NoSuchElementException class.
public NoSuchElementException ( ) : System
return System

NoSuchElementException() protected method

Initializes a new instance of the NoSuchElementException class with serialized data.
protected NoSuchElementException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized /// object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual /// information about the source or destination.
return System

NoSuchElementException() public method

Initializes a new instance of the NoSuchElementException class with a specified error message.
public NoSuchElementException ( string message ) : System
message string The message that describes the error.
return System

NoSuchElementException() public method

Initializes a new instance of the NoSuchElementException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public NoSuchElementException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception.
innerException System.Exception The exception that is the cause of the current exception, /// or if no inner exception is specified.
return System