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

WebAppsOperationsExtensions.StartWebSiteNetworkTraceOperationSlotAsync 方法

定义

开始捕获站点的网络数据包。

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkTraceInner>> StartWebSiteNetworkTraceOperationSlotAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string slot, int? durationInSeconds = default, int? maxFrameLength = default, string sasUrl = default, System.Threading.CancellationToken cancellationToken = default);
static member StartWebSiteNetworkTraceOperationSlotAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkTraceInner>>
<Extension()>
Public Function StartWebSiteNetworkTraceOperationSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot As String, Optional durationInSeconds As Nullable(Of Integer) = Nothing, Optional maxFrameLength As Nullable(Of Integer) = Nothing, Optional sasUrl As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of NetworkTraceInner))

参数

operations
IWebAppsOperations

此扩展方法的操作组。

resourceGroupName
String

资源所属的资源组的名称。

name
String

Web 应用的名称。

slot
String

此 Web 应用的槽名称。

durationInSeconds
Nullable<Int32>

持续捕获的持续时间(以秒为单位)。

maxFrameLength
Nullable<Int32>

最大帧长度(以字节为单位) (可选) 。

sasUrl
String

用于存储捕获文件的 Blob URL。

cancellationToken
CancellationToken

取消标记。

返回

注解

开始捕获站点的网络数据包的说明。

适用于