Partager via


FileContainerHttpClient.DownloadItemAsZipAsync Method

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

Syntax

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