GitHttpClient.GetBranchRefsAsync Method
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Function GetBranchRefsAsync ( _
repositoryId As Guid, _
userState As Object _
) As Task(Of GitRefsCollection)
public Task<GitRefsCollection> GetBranchRefsAsync(
Guid repositoryId,
Object userState
)
public:
Task<GitRefsCollection^>^ GetBranchRefsAsync(
Guid repositoryId,
Object^ userState
)
member GetBranchRefsAsync :
repositoryId:Guid *
userState:Object -> Task<GitRefsCollection>
public function GetBranchRefsAsync(
repositoryId : Guid,
userState : Object
) : Task<GitRefsCollection>
Parameters
- repositoryId
Type: System.Guid
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<GitRefsCollection>
.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.