Compartilhar via


Método ITestResolutionStateHelper.CreateFromFile (String)

 

Cria um objeto de estado de resolução de teste de um arquivo XML.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)

Sintaxe

IEnumerable<ITestResolutionState> CreateFromFile(
    string fileName
)
IEnumerable<ITestResolutionState^>^ CreateFromFile(
    String^ fileName
)
abstract CreateFromFile : 
        fileName:string -> IEnumerable<ITestResolutionState>
Function CreateFromFile (
    fileName As String
) As IEnumerable(Of ITestResolutionState)

Parâmetros

  • fileName
    Type: System.String

    O caminho e o nome do arquivo XML que contém um objeto de estado de resolução de teste persistente.

Valor de retorno

Type: System.Collections.Generic.IEnumerable<ITestResolutionState>

Um objeto de estado de resolução de teste.

Exceções

Exception Condition
XmlSchemaValidationException

O arquivo XML fornecido falhou na validação do esquema.

TestManagementValidationException

O objeto de estado de resolução de teste instanciado Falha na validação.

Consulte também

ITestResolutionState
Interface ITestResolutionStateHelper
Namespace Microsoft.TeamFoundation.TestManagement.Client

Retornar ao topo