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
stringThe content for the hang report.
contentType
stringThe MIME type of the attached content.
contentName
stringThe 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
stringThe content for the hang report.
contentType
stringThe MIME type of the attached content.
contentName
stringThe 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
ContentName
Gets the suggested filename for the content.
public string? ContentName { get; }
Property Value
ContentType
Gets the MIME type for the content.
public string? ContentType { get; }
Property Value
NestedReports
Gets the nested hang reports, if any.
public IReadOnlyCollection<HangReportContribution>? NestedReports { get; }
Property Value
- IReadOnlyCollection<HangReportContribution>
A read only collection, or null.