Share via


GitHttpClient.GetTreeZipAsync Method

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Function GetTreeZipAsync ( _
    repositoryId As Guid, _
    sha1 As String, _
    cancellationToken As CancellationToken, _
    userState As Object _
) As Task(Of Stream)
public Task<Stream> GetTreeZipAsync(
    Guid repositoryId,
    string sha1,
    CancellationToken cancellationToken,
    Object userState
)
public:
Task<Stream^>^ GetTreeZipAsync(
    Guid repositoryId, 
    String^ sha1, 
    CancellationToken cancellationToken, 
    Object^ userState
)
member GetTreeZipAsync : 
        repositoryId:Guid * 
        sha1:string * 
        cancellationToken:CancellationToken * 
        userState:Object -> Task<Stream> 
public function GetTreeZipAsync(
    repositoryId : Guid, 
    sha1 : String, 
    cancellationToken : CancellationToken, 
    userState : Object
) : Task<Stream>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

GitHttpClient Class

Microsoft.TeamFoundation.SourceControl.WebApi Namespace