Share via


IWebSiteOperations.GetAsync Method (String, String, WebSiteGetParameters, CancellationToken)

 

Asynchronously retrieves information for a website.

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

Syntax

Task<WebSiteGetResponse> GetAsync(
    string webSpaceName,
    string webSiteName,
    WebSiteGetParameters parameters,
    CancellationToken cancellationToken
)
Task<WebSiteGetResponse^>^ GetAsync(
    String^ webSpaceName,
    String^ webSiteName,
    WebSiteGetParameters^ parameters,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        webSpaceName:string *
        webSiteName:string *
        parameters:WebSiteGetParameters *
        cancellationToken:CancellationToken -> Task<WebSiteGetResponse>
Function GetAsync (
    webSpaceName As String,
    webSiteName As String,
    parameters As WebSiteGetParameters,
    cancellationToken As CancellationToken
) As Task(Of WebSiteGetResponse)

Parameters

Return Value

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

An WebSiteGetResponse object that contains the status of the operation.

Remarks

For more information about creating a website, see Get Website Details.

See Also

IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top