ICdnProfile.PurgeEndpointContentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The paths to the content to be purged, which can be file paths or directory wild cards.
- cancellationToken
- CancellationToken