TeamFoundationFileService.RetrieveFile Method (TeamFoundationRequestContext, Int32, Boolean, array<Byte %, Int64%, 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 Overridable Function RetrieveFile ( _
requestContext As TeamFoundationRequestContext, _
fileId As Integer, _
compressOutput As Boolean, _
<OutAttribute> ByRef hashValue As Byte(), _
<OutAttribute> ByRef contentLength As Long, _
<OutAttribute> ByRef compressionType As CompressionType _
) As Stream
public virtual Stream RetrieveFile(
TeamFoundationRequestContext requestContext,
int fileId,
bool compressOutput,
out byte[] hashValue,
out long contentLength,
out CompressionType compressionType
)
public:
virtual Stream^ RetrieveFile(
TeamFoundationRequestContext^ requestContext,
int fileId,
bool compressOutput,
[OutAttribute] array<unsigned char>^% hashValue,
[OutAttribute] long long% contentLength,
[OutAttribute] CompressionType% compressionType
)
abstract RetrieveFile :
requestContext:TeamFoundationRequestContext *
fileId:int *
compressOutput:bool *
hashValue:byte[] byref *
contentLength:int64 byref *
compressionType:CompressionType byref -> Stream
override RetrieveFile :
requestContext:TeamFoundationRequestContext *
fileId:int *
compressOutput:bool *
hashValue:byte[] byref *
contentLength:int64 byref *
compressionType:CompressionType byref -> Stream
public function RetrieveFile(
requestContext : TeamFoundationRequestContext,
fileId : int,
compressOutput : boolean,
hashValue : byte[],
contentLength : long,
compressionType : CompressionType
) : Stream
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- fileId
Type: System.Int32
- compressOutput
Type: System.Boolean
- hashValue
Type: array<System.Byte[]%
- contentLength
Type: System.Int64%
- compressionType
Type: Microsoft.TeamFoundation.Framework.Server.CompressionType%
Return Value
Type: System.IO.Stream
.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.