Table of Contents

Class HangReportContribution

Namespace
Microsoft.VisualStudio.Threading
Assembly
Microsoft.VisualStudio.Threading.dll

A contribution to an aggregate hang report.

public class HangReportContribution
Inheritance
HangReportContribution
Inherited Members

Constructors

HangReportContribution(string, string?, string?)

Initializes a new instance of the HangReportContribution class.

public HangReportContribution(string content, string? contentType, string? contentName)

Parameters

content string

The content for the hang report.

contentType string

The MIME type of the attached content.

contentName string

The suggested filename of the content when it is attached in a report.

HangReportContribution(string, string?, string?, params HangReportContribution[]?)

Initializes a new instance of the HangReportContribution class.

public HangReportContribution(string content, string? contentType, string? contentName, params HangReportContribution[]? nestedReports)

Parameters

content string

The content for the hang report.

contentType string

The MIME type of the attached content.

contentName string

The suggested filename of the content when it is attached in a report.

nestedReports HangReportContribution[]

Nested reports.

Properties

Content

Gets the content of the hang report.

public string Content { get; }

Property Value

string

ContentName

Gets the suggested filename for the content.

public string? ContentName { get; }

Property Value

string

ContentType

Gets the MIME type for the content.

public string? ContentType { get; }

Property Value

string

NestedReports

Gets the nested hang reports, if any.

public IReadOnlyCollection<HangReportContribution>? NestedReports { get; }

Property Value

IReadOnlyCollection<HangReportContribution>

A read only collection, or null.