IProfileOperations.GetAsync Method

Asynchronously returns profile details, which include all definition versions and statuses.

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

'Usage
Dim instance As IProfileOperations
Dim profileName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ProfileGetResponse)

returnValue = instance.GetAsync(profileName, cancellationToken)

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

Parameters

profileName

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

cancellationToken

The cancellation token.

Return Value

An ProfileGetResponse object that contains the profile details.

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: