/// <summary> /// Delete the destination folder. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='collectionId'> /// The collection id. Aren't needed and added only for routes consistency. /// </param> /// <param name='destinationFolderId'> /// Id of the folder that will be deleted. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteAsync(this IDestinationFolder operations, System.Guid collectionId, System.Guid destinationFolderId, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteWithHttpMessagesAsync(collectionId, destinationFolderId, null, cancellationToken).ConfigureAwait(false)).Dispose(); }