Partager via


GitHttpClient.GetRepositoryAsync Method

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

Syntax

'Declaration
Public Function GetRepositoryAsync ( _
    repositoryId As Guid, _
    userState As Object _
) As Task(Of GitRepository)
public Task<GitRepository> GetRepositoryAsync(
    Guid repositoryId,
    Object userState
)
public:
Task<GitRepository^>^ GetRepositoryAsync(
    Guid repositoryId, 
    Object^ userState
)
member GetRepositoryAsync : 
        repositoryId:Guid * 
        userState:Object -> Task<GitRepository> 
public function GetRepositoryAsync(
    repositoryId : Guid, 
    userState : Object
) : Task<GitRepository>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

GitHttpClient Class

Microsoft.TeamFoundation.SourceControl.WebApi Namespace