GitHttpClient.CreateRepositoryAsync Method

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

Syntax

'Declaration
Public Function CreateRepositoryAsync ( _
    gitRepositoryToCreate As GitRepository, _
    userState As Object _
) As Task(Of GitRepository)
public Task<GitRepository> CreateRepositoryAsync(
    GitRepository gitRepositoryToCreate,
    Object userState
)
public:
Task<GitRepository^>^ CreateRepositoryAsync(
    GitRepository^ gitRepositoryToCreate, 
    Object^ userState
)
member CreateRepositoryAsync : 
        gitRepositoryToCreate:GitRepository * 
        userState:Object -> Task<GitRepository> 
public function CreateRepositoryAsync(
    gitRepositoryToCreate : GitRepository, 
    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