Share via


ICdnProfile.LoadEndpointContentAsync Method

Definition

Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously. Note, this is Available for Verizon Profiles only.

public System.Threading.Tasks.Task LoadEndpointContentAsync (string endpointName, System.Collections.Generic.ISet<string> contentPaths, System.Threading.CancellationToken cancellationToken = default);
abstract member LoadEndpointContentAsync : string * System.Collections.Generic.ISet<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function LoadEndpointContentAsync (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