Udostępnij za pośrednictwem


ICollectionOperations.CreateAsync Method

Definition

Creates a collection with the given details.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> CreateAsync (bool populateOnly, Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionCreationDetails collectionDetails, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : bool * Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionCreationDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
Public Function CreateAsync (populateOnly As Boolean, collectionDetails As CollectionCreationDetails, cancellationToken As CancellationToken) As Task(Of OperationResultWithTrackingId)

Parameters

populateOnly
Boolean

A flag denoting if the request is to populate the creation details of the collection or update and deploy (true for populate only).

collectionDetails
CollectionCreationDetails

Details for the collection to be created.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response containing the operation tracking id.

Applies to