IWebSiteOperations.IsHostnameAvailableAsync Method (String, CancellationToken)
Determines if a host name is available.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Task<WebSiteIsHostnameAvailableResponse> IsHostnameAvailableAsync(
string webSiteName,
CancellationToken cancellationToken
)
Parameters
- webSiteName
-
Type:
System.String
The name of the web site.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSiteIsHostnameAvailableResponse>The Is Hostname Available Web Site operation response.
Show: