DefinitionOperationsExtensions.GetAsync Method

Asynchronously returns an existing profile definition.

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 DefinitionGetResponse)

returnValue = DefinitionOperationsExtensions.GetAsync(operations, profileName)

Syntax

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

Parameters

  • profileName
    The name of the profile for which the definition should be returned.

Return Value

An DefinitionGetResponse object that contains the profile definition.

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