Class CdpJSHandle
- Namespace
- PuppeteerSharp.Cdp
- Assembly
- PuppeteerSharp.dll
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class CdpJSHandle : JSHandle, IJSHandle, IAsyncDisposable
- Inheritance
-
CdpJSHandle
- Implements
- Extension Methods
Properties
RemoteObject
Gets the remote object.
public override RemoteObject RemoteObject { get; }
Property Value
- RemoteObject
The remote object.
Methods
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
public override ValueTask DisposeAsync()
Returns
- ValueTask
A task that represents the asynchronous dispose operation.
JsonValueAsync<T>()
Returns a JSON representation of the object.
public override Task<T> JsonValueAsync<T>()
Returns
- Task<T>
Task.
Type Parameters
T
A strongly typed object to parse to.
Remarks
The method will return an empty JSON if the referenced object is not stringifiable. It will throw an error if the object has circular references.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.