GitHttpClient.GetBranchRefsAsync(Guid, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the refs that are branches for a specific git repository
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRef>> GetBranchRefsAsync(Guid repositoryId, object userState = null);
abstract member GetBranchRefsAsync : Guid * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRef>>
override this.GetBranchRefsAsync : Guid * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRef>>
Public Overridable Function GetBranchRefsAsync (repositoryId As Guid, Optional userState As Object = null) As Task(Of List(Of GitRef))
Parameters
- repositoryId
- Guid
Repository Id
- userState
- Object
Returns
Task<List<GitRef>>