Udostępnij za pośrednictwem


Metoda ITestCaseResultHelper.CreateForUpdate —

Tworzy obiekt wynik pusty testowy używany do efektywnie zapisać zmienione właściwości na serwerze.

Przestrzeń nazw:  Microsoft.TeamFoundation.TestManagement.Client
Zestaw:  Microsoft.TeamFoundation.TestManagement.Client (w Microsoft.TeamFoundation.TestManagement.Client.dll)

Składnia

'Deklaracja
Function CreateForUpdate ( _
    testRunId As Integer, _
    testResultId As Integer _
) As ITestCaseResult
ITestCaseResult CreateForUpdate(
    int testRunId,
    int testResultId
)
ITestCaseResult^ CreateForUpdate(
    int testRunId, 
    int testResultId
)
abstract CreateForUpdate : 
        testRunId:int * 
        testResultId:int -> ITestCaseResult
function CreateForUpdate(
    testRunId : int, 
    testResultId : int
) : ITestCaseResult

Parametry

  • testRunId
    Typ: Int32

    int , Które identyfikują test, uruchom w wyniku badania sprawy.

  • testResultId
    Typ: Int32

    int , Które identyfikują wynik badania sprawy.

Wartość zwracana

Typ: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult
Pusty testowy obiekt wynik.

Uwagi

Aby zapisać wynik do serwera, należy zadzwonić Save metody.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITestCaseResultHelper Interfejs

Przestrzeń nazw Microsoft.TeamFoundation.TestManagement.Client

ITestCaseResult