Share via


IWebSiteOperations.CreateAsync Method (String, WebSiteCreateParameters, CancellationToken)

 

Asynchronously creates a website.

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Syntax

Task<WebSiteCreateResponse> CreateAsync(
    string webSpaceName,
    WebSiteCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<WebSiteCreateResponse^>^ CreateAsync(
    String^ webSpaceName,
    WebSiteCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        webSpaceName:string *
        parameters:WebSiteCreateParameters *
        cancellationToken:CancellationToken -> Task<WebSiteCreateResponse>
Function CreateAsync (
    webSpaceName As String,
    parameters As WebSiteCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of WebSiteCreateResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<WebSiteCreateResponse>

An WebSiteCreateResponse object that contains the status of the operation.

Remarks

For more information about creating a website, see Create a Website.

See Also

IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top