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
contentstringThe content for the hang report.
contentTypestringThe MIME type of the attached content.
contentNamestringThe 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
contentstringThe content for the hang report.
contentTypestringThe MIME type of the attached content.
contentNamestringThe suggested filename of the content when it is attached in a report.
nestedReportsHangReportContribution[]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.