Udostępnij za pośrednictwem


IWebSiteOperations.GetAsync Method

Definition

You can retrieve details for a web site by issuing an HTTP GET request. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn167007.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetResponse> GetAsync (string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetResponse>
Public Function GetAsync (webSpaceName As String, webSiteName As String, parameters As WebSiteGetParameters, cancellationToken As CancellationToken) As Task(Of WebSiteGetResponse)

Parameters

webSpaceName
String

The name of the web space.

webSiteName
String

The name of the web site.

parameters
WebSiteGetParameters

Parameters supplied to the Get Web Site Operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get Web Site operation response.

Applies to