HangReportContribution Constructor (String, String, String, array<HangReportContribution )
Initializes a new instance of the HangReportContribution.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Sub New ( _
content As String, _
contentType As String, _
contentName As String, _
ParamArray nestedReports As HangReportContribution() _
)
public HangReportContribution(
string content,
string contentType,
string contentName,
params HangReportContribution[] nestedReports
)
public:
HangReportContribution(
String^ content,
String^ contentType,
String^ contentName,
... array<HangReportContribution^>^ nestedReports
)
new :
content:string *
contentType:string *
contentName:string *
nestedReports:HangReportContribution[] -> HangReportContribution
public function HangReportContribution(
content : String,
contentType : String,
contentName : String,
... nestedReports : HangReportContribution[]
)
Parameters
content
Type: System.StringThe content for the hang report.
contentType
Type: System.StringThe MIME type of the attached content.
contentName
Type: System.StringThe suggested filename of the content when it is attached in a report.
nestedReports
Type: array<Microsoft.VisualStudio.Threading.HangReportContribution[]Nested reports.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.