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
- containerId
Type: System.Int64
- itemPath
Type: System.String
- cancellationToken
Type: System.Threading.CancellationToken
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Stream>
.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.
See Also
Reference
Microsoft.VisualStudio.Services.FileContainer.Client Namespace