SelectorException
Namespace: PuppeteerSharp
[Serializable]public class SelectorException : PuppeteerException, ISerializableException thrown when an element selector returns null.
Inheritance: object → Exception → PuppeteerException
Implements: ISerializable
Constructors
Section titled “Constructors”SelectorException()
Section titled “SelectorException()”public SelectorException()Initializes a new instance of the SelectorException class.
SelectorException(string)
Section titled “SelectorException(string)”public SelectorException(string message)Initializes a new instance of the SelectorException class.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | Message. |
SelectorException(string, Exception)
Section titled “SelectorException(string, Exception)”public SelectorException(string message, Exception innerException)Initializes a new instance of the SelectorException class.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | Message. |
innerException |
Exception | Inner exception. |
SelectorException(string, string)
Section titled “SelectorException(string, string)”public SelectorException(string message, string selector)Initializes a new instance of the SelectorException class.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | Message. |
selector |
string | Selector. |
Properties
Section titled “Properties”Selector
Section titled “Selector”public string Selector { get; }Gets the selector.
Value: string — The selector.
Made with love by Dario Kondratiuk