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
- downloadState
Type: Microsoft.TeamFoundation.Server.Core.IDownloadState 
- fileInformation
Type: Microsoft.TeamFoundation.Server.Core.FileInformation 
- path
Type: System.String 
- offset
Type: System.Int64 
- length
Type: System.Int64 
Return Value
Type: System.Boolean
.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.