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
- repositoryId
Type: System.Guid
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<GitRepository>
.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.