IDefinitionOperations.CreateAsync Method

Asynchronously creates a new definition for a specified 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 parameters As DefinitionCreateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationResponse)

returnValue = instance.CreateAsync(profileName, parameters, cancellationToken)

Task<OperationResponse> CreateAsync (
	string profileName,
	DefinitionCreateParameters parameters,
	CancellationToken cancellationToken
)
Task<OperationResponse> CreateAsync (
	String profileName, 
	DefinitionCreateParameters parameters, 
	CancellationToken cancellationToken
)
function CreateAsync (
	profileName : String, 
	parameters : DefinitionCreateParameters, 
	cancellationToken : CancellationToken
) : Task<OperationResponse>

Parameters

profileName

The name of the profile for which a new definition should be created.

parameters

The DefinitionCreateParameters object.

cancellationToken

The cancellation token.

Return Value

An OperationResponse object that includes an HTTP status code and request ID.

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: