Class TargetClosedException
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Exception thrown by the Connection when it detects that the target was closed.
[Serializable]
public class TargetClosedException : PuppeteerException, ISerializable
- Inheritance
-
TargetClosedException
- Implements
Constructors
TargetClosedException()
Initializes a new instance of the TargetClosedException class.
public TargetClosedException()
TargetClosedException(string)
Initializes a new instance of the TargetClosedException class.
public TargetClosedException(string message)
Parameters
message
stringMessage.
TargetClosedException(string, Exception)
Initializes a new instance of the TargetClosedException class.
public TargetClosedException(string message, Exception innerException)
Parameters
TargetClosedException(string, string)
Initializes a new instance of the TargetClosedException class.
public TargetClosedException(string message, string closeReason)
Parameters
Properties
CloseReason
Close Reason.
public string CloseReason { get; }
Property Value
- string
The close reason.