你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ICdnProfile.LoadEndpointContentAsync 方法

定义

以异步方式在 CDN 配置文件中强制预加载 CDN 终结点内容。 请注意,这仅适用于 Verizon 配置文件。

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

参数

endpointName
String

配置文件下终结点的名称。

contentPaths
ISet<String>

要清除的内容的路径,可以是文件路径或目录通配符。

cancellationToken
CancellationToken

返回

适用于