共用方式為


ISharedStep.CreateActionRecording Method (String)

 

Creates an action recording from a file.

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

Syntax

ITestAttachment CreateActionRecording(
    string localFileName
)
ITestAttachment^ CreateActionRecording(
    String^ localFileName
)
abstract CreateActionRecording : 
        localFileName:string -> ITestAttachment
Function CreateActionRecording (
    localFileName As String
) As 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.

See Also

ITestAttachment
ISharedStep Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top