TfvcHttpClient.DownloadItemZipAsync Method
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Function DownloadItemZipAsync ( _
pathString As String, _
versionDescriptor As TfvcVersionDescriptor, _
cancellationToken As CancellationToken, _
userState As Object _
) As Task(Of Stream)
public Task<Stream> DownloadItemZipAsync(
string pathString,
TfvcVersionDescriptor versionDescriptor,
CancellationToken cancellationToken,
Object userState
)
public:
Task<Stream^>^ DownloadItemZipAsync(
String^ pathString,
TfvcVersionDescriptor^ versionDescriptor,
CancellationToken cancellationToken,
Object^ userState
)
member DownloadItemZipAsync :
pathString:string *
versionDescriptor:TfvcVersionDescriptor *
cancellationToken:CancellationToken *
userState:Object -> Task<Stream>
public function DownloadItemZipAsync(
pathString : String,
versionDescriptor : TfvcVersionDescriptor,
cancellationToken : CancellationToken,
userState : Object
) : Task<Stream>
Parameters
- pathString
Type: System.String
- versionDescriptor
Type: Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor
- 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.