IProfileOperations.ListAsync Method

Asynchronously lists all of the profiles in a subscription.

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

Usage

'Usage
Dim instance As IProfileOperations
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ProfilesListResponse)

returnValue = instance.ListAsync(cancellationToken)

Syntax

'Declaration
Function ListAsync ( _
    cancellationToken As CancellationToken _
) As Task(Of ProfilesListResponse)
Task<ProfilesListResponse> ListAsync (
    CancellationToken cancellationToken
)
Task<ProfilesListResponse^>^ ListAsync (
    CancellationToken cancellationToken
)
Task<ProfilesListResponse> ListAsync (
    CancellationToken cancellationToken
)
function ListAsync (
    cancellationToken : CancellationToken
) : Task<ProfilesListResponse>

Parameters

  • cancellationToken
    The cancellation token.

Return Value

An ProfilesListResponse object that contains a list of profiles.

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

IProfileOperations Interface
IProfileOperations Members
Microsoft.WindowsAzure.Management.TrafficManager Namespace