共用方式為


IPacketCapture.GetStatusAsync(CancellationToken) Method

Definition

Query the status of a running packet capture session asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.IPacketCaptureStatus> GetStatusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStatusAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.IPacketCaptureStatus>
Public Function GetStatusAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPacketCaptureStatus)

Parameters

cancellationToken
CancellationToken

Returns

Applies to