Share via


WebSiteManagementClientExtensions.RegisterSubscriptionAsync Method

Asynchronously registers your subscription to use Microsoft Azure Websites.

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

Usage

'Usage
Dim operations As IWebSiteManagementClient
Dim returnValue As Task(Of OperationResponse)

returnValue = WebSiteManagementClientExtensions.RegisterSubscriptionAsync(operations)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function RegisterSubscriptionAsync ( _
    operations As IWebSiteManagementClient _
) As Task(Of OperationResponse)
[ExtensionAttribute] 
public static Task<OperationResponse> RegisterSubscriptionAsync (
    IWebSiteManagementClient operations
)
[ExtensionAttribute] 
public:
static Task<OperationResponse^>^ RegisterSubscriptionAsync (
    IWebSiteManagementClient^ operations
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationResponse> RegisterSubscriptionAsync (
    IWebSiteManagementClient operations
)
ExtensionAttribute 
public static function RegisterSubscriptionAsync (
    operations : IWebSiteManagementClient
) : Task<OperationResponse>

Parameters

  • operations
    The IWebSiteManagementClient object that specifies the operations for managing Websites management clients.

Return Value

An OperationResponse object that includes an HTTP status code and request ID.

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

WebSiteManagementClientExtensions Class
WebSiteManagementClientExtensions Members
Microsoft.WindowsAzure.Management.WebSites Namespace