共用方式為


ICdnProfile.PurgeEndpointContentAsync Method

Definition

Forcibly purges CDN endpoint content in the CDN profile asynchronously.

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

Parameters

endpointName
String

A name of the endpoint under the profile.

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