Share via


DefinitionOperationsExtensions.ListAsync Method

Asynchronously returns all of the definitions of a profile.

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

Usage

'Usage
Dim operations As IDefinitionOperations
Dim profileName As String
Dim returnValue As Task(Of DefinitionsListResponse)

returnValue = DefinitionOperationsExtensions.ListAsync(operations, profileName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As IDefinitionOperations, _
    profileName As String _
) As Task(Of DefinitionsListResponse)
[ExtensionAttribute] 
public static Task<DefinitionsListResponse> ListAsync (
    IDefinitionOperations operations,
    string profileName
)
[ExtensionAttribute] 
public:
static Task<DefinitionsListResponse^>^ ListAsync (
    IDefinitionOperations^ operations, 
    String^ profileName
)
/** @attribute ExtensionAttribute() */ 
public static Task<DefinitionsListResponse> ListAsync (
    IDefinitionOperations operations, 
    String profileName
)
ExtensionAttribute 
public static function ListAsync (
    operations : IDefinitionOperations, 
    profileName : String
) : Task<DefinitionsListResponse>

Parameters

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

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

DefinitionOperationsExtensions Class
DefinitionOperationsExtensions Members
Microsoft.WindowsAzure Namespace