IWebSiteOperations.GetAsync Method (String, String, WebSiteGetParameters, CancellationToken)
Asynchronously retrieves information for a website.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Task<WebSiteGetResponse> GetAsync( string webSpaceName, string webSiteName, WebSiteGetParameters parameters, CancellationToken cancellationToken )
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the website.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetParameters
The WebSiteGetParameters object that contains the parameters for the information that is retrieved.
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSiteGetResponse>An WebSiteGetResponse object that contains the status of the operation.
For more information about creating a website, see Get Website Details.
Show: