Class ExecutionContextDescription
Description of an isolated world.
public sealed record ExecutionContextDescription : IEquatable<ExecutionContextDescription>
- Inheritance
-
ExecutionContextDescription
- Implements
- Inherited Members
Constructors
ExecutionContextDescription(ExecutionContextId, string, string, string)
Description of an isolated world.
public ExecutionContextDescription(ExecutionContextId Id, string Origin, string Name, string UniqueId)
Parameters
IdExecutionContextIdUnique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
OriginstringExecution context origin.
NamestringHuman readable name describing given context.
UniqueIdstringA system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.
Properties
AuxData
Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
public JsonElement? AuxData { get; init; }
Property Value
Id
Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
public ExecutionContextId Id { get; init; }
Property Value
Name
Human readable name describing given context.
public string Name { get; init; }
Property Value
Origin
Execution context origin.
public string Origin { get; init; }
Property Value
UniqueId
A system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.
public string UniqueId { get; init; }