IWebSiteOperations.CreateAsync Method (String, WebSiteCreateParameters, CancellationToken)
Asynchronously creates a website.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Function CreateAsync ( webSpaceName As String, parameters As WebSiteCreateParameters, cancellationToken As CancellationToken ) As Task(Of WebSiteCreateResponse)
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateParameters
The WebSiteCreateParameters object that contains the parameters that are used to create a website.
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of WebSiteCreateResponse)An WebSiteCreateResponse object that contains the status of the operation.
For more information about creating a website, see Create a Website.
Show: