IDefinitionOperations.ListAsync Method

Asynchronously returns all of the definitions of a specified profile.

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

Usage

'Usage
Dim instance As IDefinitionOperations
Dim profileName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of DefinitionsListResponse)

returnValue = instance.ListAsync(profileName, cancellationToken)

Syntax

'Declaration
Function ListAsync ( _
    profileName As String, _
    cancellationToken As CancellationToken _
) As Task(Of DefinitionsListResponse)
Task<DefinitionsListResponse> ListAsync (
    string profileName,
    CancellationToken cancellationToken
)
Task<DefinitionsListResponse^>^ ListAsync (
    String^ profileName, 
    CancellationToken cancellationToken
)
Task<DefinitionsListResponse> ListAsync (
    String profileName, 
    CancellationToken cancellationToken
)
function ListAsync (
    profileName : String, 
    cancellationToken : CancellationToken
) : Task<DefinitionsListResponse>

Parameters

  • profileName
    The name of the profile for which definitions should be listed.
  • cancellationToken
    The cancellation token.

Return Value

An DefinitionsListResponse object that contains the list of definitions.

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

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