FileCacheService.TransmitFile Method

Sends the file to the client.

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

Syntax

'Declaration
Public Function TransmitFile ( _
    downloadState As IDownloadState, _
    fileInformation As FileInformation, _
    path As String, _
    offset As Long, _
    length As Long _
) As Boolean
public bool TransmitFile(
    IDownloadState downloadState,
    FileInformation fileInformation,
    string path,
    long offset,
    long length
)
public:
bool TransmitFile(
    IDownloadState^ downloadState, 
    FileInformation^ fileInformation, 
    String^ path, 
    long long offset, 
    long long length
)
member TransmitFile : 
        downloadState:IDownloadState * 
        fileInformation:FileInformation * 
        path:string * 
        offset:int64 * 
        length:int64 -> bool
public function TransmitFile(
    downloadState : IDownloadState, 
    fileInformation : FileInformation, 
    path : String, 
    offset : long, 
    length : long
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

FileCacheService Class

Microsoft.TeamFoundation.Server.Core Namespace