Compartilhar via


Método ITestBase.CreateSharedStepReference ()

 

Se este objeto é uma situação de teste, cria uma nova referência compartilhada da etapa, que o acesso a um outro conjunto de ações.

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

Sintaxe

ISharedStepReference CreateSharedStepReference()
ISharedStepReference^ CreateSharedStepReference()
abstract CreateSharedStepReference : unit -> ISharedStepReference
Function CreateSharedStepReference As ISharedStepReference

Valor de retorno

Type: Microsoft.TeamFoundation.TestManagement.Client.ISharedStepReference

A nova referência compartilhada da etapa.

Exceções

Exception Condition
TestManagementInvalidOperationException

Este objeto de ITestBase não é uma situação de teste.

Comentários

Os chamadores devem adicione esse a ITestBase.Actions e chamar ITestBase.Save para confirmar isso para o servidor.

Consulte também

ISharedStepReference
Interface ITestBase
Namespace Microsoft.TeamFoundation.TestManagement.Client

Retornar ao topo