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
- repositoryId
Type: System.Guid
- sha1
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.