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
- gitRepositoryToCreate
Type: Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository
- 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.