Konstruktor HangReportContribution — (String, String, String, array<HangReportContribution )
Inicjuje nowe wystąpienie HangReportContribution.
Przestrzeń nazw: Microsoft.VisualStudio.Threading
Zestaw: Microsoft.VisualStudio.Threading (w Microsoft.VisualStudio.Threading.dll)
Składnia
'Deklaracja
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[]
)
Parametry
content
Typ: StringZawartość raportu zawiesić się.
contentType
Typ: StringTyp MIME dołączonej zawartości.
contentName
Typ: StringSugerowana nazwa pliku zawartości, gdy jest on dołączony w raporcie.
nestedReports
Typ: array<Microsoft.VisualStudio.Threading.HangReportContribution[]Zagnieżdżone raportów.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.