Class UnableToSetCookieException
The exception that is thrown when the user is unable to set a cookie.
public class UnableToSetCookieException : WebDriverException, ISerializable- Inheritance
- 
      
      
      
      UnableToSetCookieException
- Implements
- Inherited Members
Constructors
UnableToSetCookieException()
Initializes a new instance of the UnableToSetCookieException class.
public UnableToSetCookieException()UnableToSetCookieException(SerializationInfo, StreamingContext)
Initializes a new instance of the UnableToSetCookieException class with serialized data.
protected UnableToSetCookieException(SerializationInfo info, StreamingContext context)Parameters
- infoSerializationInfo
- The SerializationInfo that holds the serialized object data about the exception being thrown. 
- contextStreamingContext
- The StreamingContext that contains contextual information about the source or destination. 
UnableToSetCookieException(string)
Initializes a new instance of the UnableToSetCookieException class with a specified error message.
public UnableToSetCookieException(string message)Parameters
- messagestring
- The message that describes the error. 
UnableToSetCookieException(string, Exception)
Initializes a new instance of the UnableToSetCookieException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public UnableToSetCookieException(string message, Exception innerException)