Compartir a través de


HangReportContribution Constructors

Definition

Overloads

HangReportContribution(String, String, String)

Initializes a new instance of the HangReportContribution class.

HangReportContribution(String, String, String, HangReportContribution[])

Initializes a new instance of the HangReportContribution class.

HangReportContribution(String, String, String)

Initializes a new instance of the HangReportContribution class.

public:
 HangReportContribution(System::String ^ content, System::String ^ contentType, System::String ^ contentName);
public:
 HangReportContribution(Platform::String ^ content, Platform::String ^ contentType, Platform::String ^ contentName);
 HangReportContribution(std::wstring const & content, std::wstring const & contentType, std::wstring const & contentName);
public HangReportContribution (string content, string contentType, string contentName);
public HangReportContribution (string content, string? contentType, string? contentName);
new Microsoft.VisualStudio.Threading.HangReportContribution : string * string * string -> Microsoft.VisualStudio.Threading.HangReportContribution
Public Sub New (content As String, contentType As String, contentName As String)

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.

Applies to

HangReportContribution(String, String, String, HangReportContribution[])

Initializes a new instance of the HangReportContribution class.

public:
 HangReportContribution(System::String ^ content, System::String ^ contentType, System::String ^ contentName, ... cli::array <Microsoft::VisualStudio::Threading::HangReportContribution ^> ^ nestedReports);
public HangReportContribution (string content, string contentType, string contentName, params Microsoft.VisualStudio.Threading.HangReportContribution[] nestedReports);
public HangReportContribution (string content, string? contentType, string? contentName, params Microsoft.VisualStudio.Threading.HangReportContribution[]? nestedReports);
new Microsoft.VisualStudio.Threading.HangReportContribution : string * string * string * Microsoft.VisualStudio.Threading.HangReportContribution[] -> Microsoft.VisualStudio.Threading.HangReportContribution
Public Sub New (content As String, contentType As String, contentName As String, ParamArray nestedReports As HangReportContribution())

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.

Applies to