IDefinitionOperations.GetAsync Method

Asynchronously returns a definition for an existing profile.

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

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

returnValue = instance.GetAsync(profileName, cancellationToken)

Task<DefinitionGetResponse> GetAsync (
	string profileName,
	CancellationToken cancellationToken
)
Task<DefinitionGetResponse> GetAsync (
	String profileName, 
	CancellationToken cancellationToken
)
function GetAsync (
	profileName : String, 
	cancellationToken : CancellationToken
) : Task<DefinitionGetResponse>

Parameters

profileName

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

cancellationToken

The cancellation token.

Return Value

An DefinitionGetResponse object that contains the profile definition.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Show: