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

WebSiteSlotResource.GetNetworkTracesSlot(String, CancellationToken) 方法

定义

获取捕获 (或部署槽的网络跟踪的命名操作的说明(如果) 指定)。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slots}/networkTrace/{operationId}
  • 操作IdWebApps_GetNetworkTracesSlot
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace> GetNetworkTracesSlot (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTracesSlot : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
override this.GetNetworkTracesSlot : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
Public Overridable Function GetNetworkTracesSlot (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WebAppNetworkTrace)

参数

operationId
String

操作的 GUID。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 WebAppNetworkTrace ,可能需要多个服务请求才能循环访问。

例外

operationId 是一个空字符串,预期为非空。

operationId 为 null。

适用于