Konstruktor TestResultDetail —
Inicjuje nowe wystąpienie TestResultDetail klasy przy użyciu wynik testu dostarczonego i uruchom test.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.Common
Zestaw: Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)
Składnia
'Deklaracja
Public Sub New ( _
result As TestResult, _
run As TestRun _
)
public TestResultDetail(
TestResult result,
TestRun run
)
public:
TestResultDetail(
TestResult^ result,
TestRun^ run
)
new :
result:TestResult *
run:TestRun -> TestResultDetail
public function TestResultDetail(
result : TestResult,
run : TestRun
)
Parametry
- result
Typ: Microsoft.VisualStudio.TestTools.Common.TestResult
A TestResult object.
- run
Typ: Microsoft.VisualStudio.TestTools.Common.TestRun
A TestRun object.
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 Przy użyciu bibliotek z częściowo zaufanego kodu..