Share via


ISharedStep.CreateActionRecording Method

Creates an action recording from a file.

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

Syntax

'Declaration
Function CreateActionRecording ( _
    localFileName As String _
) As ITestAttachment
ITestAttachment CreateActionRecording(
    string localFileName
)
ITestAttachment^ CreateActionRecording(
    String^ localFileName
)
abstract CreateActionRecording : 
        localFileName:string -> ITestAttachment 
function CreateActionRecording(
    localFileName : String
) : ITestAttachment

Parameters

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment
A new attachment object.

Remarks

When the object that owns the action recording is saved, the specified file is uploaded to the server, and must be readable until the upload is completed.

.NET Framework Security

See Also

Reference

ISharedStep Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestAttachment