Table of Contents

Class PerformanceLongTaskTiming

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The PerformanceLongTaskTiming interface provides information about tasks that occupy the UI thread for 50 milliseconds or more.
[Value("PerformanceLongTaskTiming")]
public class PerformanceLongTaskTiming : PerformanceEntry
Inheritance
PerformanceLongTaskTiming
Inherited Members

Remarks

Constructors

PerformanceLongTaskTiming()

public PerformanceLongTaskTiming()

Properties

Attribution

NOTE
Experimental
The attribution read-only property of the PerformanceLongTaskTiming interface returns an array of 'TaskAttributionTiming' objects.
[Value("attribution")]
public TaskAttributionTiming[] Attribution { get; }

Property Value

TaskAttributionTiming[]

An {{jsxref("Array")}} of 'TaskAttributionTiming' objects.

Remarks

-'TaskAttributionTiming'

See also on MDN

Duration

[Value("duration")]
public Number Duration { get; }

Property Value

Number

EntryType

[Value("entryType")]
public string EntryType { get; }

Property Value

string

Name

[Value("name")]
public string Name { get; }

Property Value

string

StartTime

[Value("startTime")]
public Number StartTime { get; }

Property Value

Number

Methods

ToJSON()

NOTE
Experimental
The toJSON() method of the PerformanceLongTaskTiming interface is a {{Glossary("Serialization","serializer")}}; it returns a JSON representation of the PerformanceLongTaskTiming object.
[Value("toJSON")]
public Object ToJSON()

Returns

Object

A {{jsxref("JSON")}} object that is the serialization of the PerformanceLongTaskTiming object.

Remarks