FileContainerHttpClient.DownloadItemAsZipAsync-Methode
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
)
Parameter
- containerId
Typ: System.Int64
- itemPath
Typ: System.String
- cancellationToken
Typ: System.Threading.CancellationToken
- userState
Typ: System.Object
Rückgabewert
Typ: System.Threading.Tasks.Task<Stream>
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
FileContainerHttpClient Klasse
Microsoft.VisualStudio.Services.FileContainer.Client-Namespace