Condividi tramite


Metodo ITestCaseResultHelper.CreateForUpdate

Crea un oggetto vuoto del risultato del test case che viene utilizzato per salvare in modo efficiente le proprietà modificate al server.

Spazio dei nomi:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Sintassi

'Dichiarazione
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

Parametri

  • testRunId
    Tipo: System.Int32
    int che identifica l'esecuzione dei test per il risultato del test case.
  • testResultId
    Tipo: System.Int32
    int che identifica il risultato del test case.

Valore restituito

Tipo: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult
Un oggetto vuoto del risultato del test case.

Note

Per scrivere il risultato al server, chiamare Save metodo.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ITestCaseResultHelper Interfaccia

Spazio dei nomi Microsoft.TeamFoundation.TestManagement.Client

ITestCaseResult