WaitTaskTimeoutException
Namespace: PuppeteerSharp
[Serializable]public class WaitTaskTimeoutException : PuppeteerException, ISerializableTimeout exception that might be thrown by WaitFor methods in Frame.
Inheritance: object → Exception → PuppeteerException
Implements: ISerializable
Constructors
Section titled “Constructors”WaitTaskTimeoutException()
Section titled “WaitTaskTimeoutException()”public WaitTaskTimeoutException()Initializes a new instance of the WaitTaskTimeoutException class.
WaitTaskTimeoutException(int)
Section titled “WaitTaskTimeoutException(int)”public WaitTaskTimeoutException(int timeout)Initializes a new instance of the WaitTaskTimeoutException class.
Parameters
| Name | Type | Description |
|---|---|---|
timeout |
int | Timeout. |
WaitTaskTimeoutException(int, string)
Section titled “WaitTaskTimeoutException(int, string)”public WaitTaskTimeoutException(int timeout, string elementType)Initializes a new instance of the WaitTaskTimeoutException class.
Parameters
| Name | Type | Description |
|---|---|---|
timeout |
int | Timeout. |
elementType |
string | Element type. |
WaitTaskTimeoutException(string)
Section titled “WaitTaskTimeoutException(string)”public WaitTaskTimeoutException(string message)Initializes a new instance of the WaitTaskTimeoutException class.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | Message. |
WaitTaskTimeoutException(string, Exception)
Section titled “WaitTaskTimeoutException(string, Exception)”public WaitTaskTimeoutException(string message, Exception innerException)Initializes a new instance of the WaitTaskTimeoutException class.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | Message. |
innerException |
Exception | Inner exception. |
Properties
Section titled “Properties”ElementType
Section titled “ElementType”public string ElementType { get; }Element type the WaitTask was waiting for.
Value: string — The element.
Timeout
Section titled “Timeout”public int Timeout { get; }Timeout that caused the exception.
Value: int — The timeout.
Made with love by Dario Kondratiuk