ICdnEndpoint.PurgeContentAsync(ISet<String>, CancellationToken) Method

Definition

Forcibly purges the content of the CDN endpoint asynchronously.

public System.Threading.Tasks.Task PurgeContentAsync (System.Collections.Generic.ISet<string> contentPaths, System.Threading.CancellationToken cancellationToken = default);
abstract member PurgeContentAsync : System.Collections.Generic.ISet<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PurgeContentAsync (contentPaths As ISet(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

contentPaths
ISet<String>

The paths to the content to be purged, which can be file paths or directory wild cards.

cancellationToken
CancellationToken

Returns

Applies to