ITestBase.CreateSharedStepReference Method ()

 

If this object is a test case, creates a new shared step reference, which gives access to another set of actions.

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

Syntax

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

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ISharedStepReference

The new shared step reference.

Exceptions

Exception Condition
TestManagementInvalidOperationException

This ITestBase object is not a test case.

Remarks

Callers must add this to ITestBase.Actions and call ITestBase.Save to commit this to the server.

See Also

ISharedStepReference
ITestBase Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top