Share via


IWebSiteOperations.IsHostnameAvailableAsync Method (String, CancellationToken)

 

Determines if a host name is available.

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

Syntax

Task<WebSiteIsHostnameAvailableResponse> IsHostnameAvailableAsync(
    string webSiteName,
    CancellationToken cancellationToken
)
Task<WebSiteIsHostnameAvailableResponse^>^ IsHostnameAvailableAsync(
    String^ webSiteName,
    CancellationToken cancellationToken
)
abstract IsHostnameAvailableAsync : 
        webSiteName:string *
        cancellationToken:CancellationToken -> Task<WebSiteIsHostnameAvailableResponse>
Function IsHostnameAvailableAsync (
    webSiteName As String,
    cancellationToken As CancellationToken
) As Task(Of WebSiteIsHostnameAvailableResponse)

Parameters

Return Value

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

The Is Hostname Available Web Site operation response.

See Also

IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top