ICdnProfile.LoadEndpointContentAsync 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 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.
The paths to the content to be purged, which can be file paths or directory wild cards.
- cancellationToken
- CancellationToken