Table of Contents

Class SelectorException

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll

Exception thrown when an element selector returns null.

[Serializable]
public class SelectorException : PuppeteerException, ISerializable
Inheritance
SelectorException
Implements

Constructors

SelectorException()

Initializes a new instance of the SelectorException class.

public SelectorException()

SelectorException(SerializationInfo, StreamingContext)

Initializes a new instance of the SelectorException class.

protected SelectorException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Serialization Info.

context StreamingContext

Streaming Context.

SelectorException(string)

Initializes a new instance of the SelectorException class.

public SelectorException(string message)

Parameters

message string

Message.

SelectorException(string, Exception)

Initializes a new instance of the SelectorException class.

public SelectorException(string message, Exception innerException)

Parameters

message string

Message.

innerException Exception

Inner exception.

SelectorException(string, string)

Initializes a new instance of the SelectorException class.

public SelectorException(string message, string selector)

Parameters

message string

Message.

selector string

Selector.

Properties

Selector

Gets the selector.

public string Selector { get; }

Property Value

string

The selector.

See Also