Delen via


TeamFoundationFileService.RetrieveFile Method (TeamFoundationRequestContext, Int32, CompressionType%)

Retrieves a file from the Blob Store

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function RetrieveFile ( _
    requestContext As TeamFoundationRequestContext, _
    fileId As Integer, _
    <OutAttribute> ByRef compressionType As CompressionType _
) As Stream
public Stream RetrieveFile(
    TeamFoundationRequestContext requestContext,
    int fileId,
    out CompressionType compressionType
)
public:
Stream^ RetrieveFile(
    TeamFoundationRequestContext^ requestContext, 
    int fileId, 
    [OutAttribute] CompressionType% compressionType
)
member RetrieveFile : 
        requestContext:TeamFoundationRequestContext * 
        fileId:int * 
        compressionType:CompressionType byref -> Stream
public function RetrieveFile(
    requestContext : TeamFoundationRequestContext, 
    fileId : int, 
    compressionType : CompressionType
) : Stream

Parameters

Return Value

Type: System.IO.Stream
A Stream representing the file requested

.NET Framework Security

See Also

Reference

TeamFoundationFileService Class

RetrieveFile Overload

Microsoft.TeamFoundation.Framework.Server Namespace