HangReportContribution Constructor (String, String, String)
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 _
)
public HangReportContribution(
string content,
string contentType,
string contentName
)
public:
HangReportContribution(
String^ content,
String^ contentType,
String^ contentName
)
new :
content:string *
contentType:string *
contentName:string -> HangReportContribution
public function HangReportContribution(
content : String,
contentType : String,
contentName : String
)
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.
.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.