IWebSiteOperations.CreateRepositoryAsync Method (String, String, CancellationToken)
Asynchronously creates a website repository.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<OperationResponse> CreateRepositoryAsync(
string webSpaceName,
string webSiteName,
CancellationToken cancellationToken
)
Task<OperationResponse^>^ CreateRepositoryAsync(
String^ webSpaceName,
String^ webSiteName,
CancellationToken cancellationToken
)
abstract CreateRepositoryAsync :
webSpaceName:string *
webSiteName:string *
cancellationToken:CancellationToken -> Task<OperationResponse>
Function CreateRepositoryAsync (
webSpaceName As String,
webSiteName As String,
cancellationToken As CancellationToken
) As Task(Of OperationResponse)
Parameters
webSpaceName
Type: System.StringThe name of the web space.
webSiteName
Type: System.StringThe name of the website.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>
An OperationResponse object that includes an HTTP status code and request ID.
Remarks
For more information about creating a repository, see Create (POST) or Retrieve (GET) a Website Repository.
See Also
IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top