Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a test resolution state object from an XML file.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function CreateFromFile ( _
fileName As String _
) As IEnumerable(Of ITestResolutionState)
IEnumerable<ITestResolutionState> CreateFromFile(
string fileName
)
IEnumerable<ITestResolutionState^>^ CreateFromFile(
String^ fileName
)
abstract CreateFromFile :
fileName:string -> IEnumerable<ITestResolutionState>
function CreateFromFile(
fileName : String
) : IEnumerable<ITestResolutionState>
Parameters
fileName
Type: StringThe path and file name of the XML file that contains a persisted test resolution state object.
Return Value
Type: IEnumerable<ITestResolutionState>
A test resolution state object.
Exceptions
| Exception | Condition |
|---|---|
| XmlSchemaValidationException | The provided XML file failed the schema validation. |
| TestManagementValidationException | The instantiated test resolution state object failed validation. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITestResolutionStateHelper Interface