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