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
webSpaceName
Type: System.StringThe name of the web space.
webSiteName
Type: System.StringThe name of the website.
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetParametersThe WebSiteGetParameters object that contains the parameters for the information that is retrieved.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
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