Partager via


FileCacheService.TransmitChunk Method

Transmits this chunk to the client.

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

Syntax

'Declaration
Public Function TransmitChunk ( _
    downloadState As IDownloadState, _
    fileInformation As FileInformation, _
    chunk As Byte(), _
    offset As Long, _
    length As Long _
) As Boolean
public bool TransmitChunk(
    IDownloadState downloadState,
    FileInformation fileInformation,
    byte[] chunk,
    long offset,
    long length
)
public:
bool TransmitChunk(
    IDownloadState^ downloadState, 
    FileInformation^ fileInformation, 
    array<unsigned char>^ chunk, 
    long long offset, 
    long long length
)
member TransmitChunk : 
        downloadState:IDownloadState * 
        fileInformation:FileInformation * 
        chunk:byte[] * 
        offset:int64 * 
        length:int64 -> bool
public function TransmitChunk(
    downloadState : IDownloadState, 
    fileInformation : FileInformation, 
    chunk : byte[], 
    offset : long, 
    length : long
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

FileCacheService Class

Microsoft.TeamFoundation.Server.Core Namespace