Partager via


FileContainerHttpClient.DownloadFileAsync Method

Namespace:  Microsoft.VisualStudio.Services.FileContainer.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function DownloadFileAsync ( _
    containerId As Long, _
    itemPath As String, _
    cancellationToken As CancellationToken, _
    userState As Object _
) As Task(Of Stream)
public Task<Stream> DownloadFileAsync(
    long containerId,
    string itemPath,
    CancellationToken cancellationToken,
    Object userState
)
public:
Task<Stream^>^ DownloadFileAsync(
    long long containerId, 
    String^ itemPath, 
    CancellationToken cancellationToken, 
    Object^ userState
)
member DownloadFileAsync : 
        containerId:int64 * 
        itemPath:string * 
        cancellationToken:CancellationToken * 
        userState:Object -> Task<Stream> 
public function DownloadFileAsync(
    containerId : long, 
    itemPath : String, 
    cancellationToken : CancellationToken, 
    userState : Object
) : Task<Stream>

Parameters

Return Value

Type: System.Threading.Tasks.Task<Stream>

.NET Framework Security

See Also

Reference

FileContainerHttpClient Class

Microsoft.VisualStudio.Services.FileContainer.Client Namespace