Share via


IWebSpaceOperations.GetAsync Method

Asynchronously retrieves details for a web space.

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

Usage

'Usage
Dim instance As IWebSpaceOperations
Dim webSpaceName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of WebSpacesGetResponse)

returnValue = instance.GetAsync(webSpaceName, cancellationToken)

Syntax

'Declaration
Function GetAsync ( _
    webSpaceName As String, _
    cancellationToken As CancellationToken _
) As Task(Of WebSpacesGetResponse)
Task<WebSpacesGetResponse> GetAsync (
    string webSpaceName,
    CancellationToken cancellationToken
)
Task<WebSpacesGetResponse^>^ GetAsync (
    String^ webSpaceName, 
    CancellationToken cancellationToken
)
Task<WebSpacesGetResponse> GetAsync (
    String webSpaceName, 
    CancellationToken cancellationToken
)
function GetAsync (
    webSpaceName : String, 
    cancellationToken : CancellationToken
) : Task<WebSpacesGetResponse>

Parameters

  • webSpaceName
    The name of the web space.
  • cancellationToken
    The cancellation token.

Return Value

An WebSpacesGetResponse object that contains the details for a web space.

Remarks

For more information about retrieving web space details, see Get Webspace Details.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IWebSpaceOperations Interface
IWebSpaceOperations Members
Microsoft.WindowsAzure.Management.WebSites Namespace