Class TaskAttributionTiming
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalTaskAttributionTiming interface returns information about the work involved in a long task and its associate frame context. The frame context, also called the container, is the iframe, embed or object that is being implicated, on the whole, for a long task.
[Value("TaskAttributionTiming")]
public class TaskAttributionTiming : PerformanceEntry
- Inheritance
-
TaskAttributionTiming
- Inherited Members
Remarks
You usually work with TaskAttributionTiming objects when observing long tasks.
TaskAttributionTiming inherits from PerformanceEntry.
Constructors
TaskAttributionTiming()
public TaskAttributionTiming()
Properties
ContainerId
NOTE
ExperimentalcontainerId read-only property of the TaskAttributionTiming interface returns the container's idattribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
[Value("containerId")]
public string ContainerId { get; }
Property Value
Remarks
ContainerName
NOTE
ExperimentalcontainerName read-only property of the TaskAttributionTiming interface returns the container's nameattribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
[Value("containerName")]
public string ContainerName { get; }
Property Value
- string
A string containing the container's
nameHTML content attribute (e.g.,<iframe name="myIframe">or<object name="myObject">).
Remarks
ContainerSrc
NOTE
ExperimentalcontainerSrc read-only property of the TaskAttributionTiming interface returns the container's srcattribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
[Value("containerSrc")]
public string ContainerSrc { get; }
Property Value
- string
A string containing the container's
srcattribute (e.g.,<iframe src="url.html">).
Remarks
ContainerType
NOTE
ExperimentalcontainerType read-only property of the TaskAttributionTiming interface returns the type of the container, one of iframe, embed, or object.
[Value("containerType")]
public string ContainerType { get; }
Property Value
- string
A string containing the container's type, one of
iframe,embed, orobject. If no type can be determined,windowwill be returned.
Remarks
Duration
[Value("duration")]
public Number Duration { get; }
Property Value
EntryType
[Value("entryType")]
public string EntryType { get; }
Property Value
Name
[Value("name")]
public string Name { get; }
Property Value
StartTime
[Value("startTime")]
public Number StartTime { get; }
Property Value
Methods
ToJSON()
NOTE
ExperimentaltoJSON() method of the TaskAttributionTiming interface is a {{Glossary("Serialization","serializer")}}; it returns a JSON representation of the TaskAttributionTiming object.
[Value("toJSON")]
public Object ToJSON()
Returns
- Object
A {{jsxref("JSON")}} object that is the serialization of the TaskAttributionTiming object.