Udostępnij za pośrednictwem


WebSiteOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetParameters parameters);
static member GetAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetResponse>
<Extension()>
Public Function GetAsync (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, parameters As WebSiteGetParameters) As Task(Of WebSiteGetResponse)

Parameters

operations
IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSpaceName
String

Required. The name of the web space.

webSiteName
String

Required. The name of the web site.

parameters
WebSiteGetParameters

Optional. Parameters supplied to the Get Web Site Operation.

Returns

The Get Web Site operation response.

Applies to