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
localFileName
Type: StringThe file name for the file.
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
- 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.