Freigeben über


PacketCapturesOperationsExtensions.StopAsync Methode

Definition

Beendet eine angegebene Paketerfassungssitzung.

public static System.Threading.Tasks.Task StopAsync (this Microsoft.Azure.Management.Network.IPacketCapturesOperations operations, string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default);
static member StopAsync : Microsoft.Azure.Management.Network.IPacketCapturesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StopAsync (operations As IPacketCapturesOperations, resourceGroupName As String, networkWatcherName As String, packetCaptureName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameter

operations
IPacketCapturesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

networkWatcherName
String

Der Name des Network Watchers.

packetCaptureName
String

Der Name der Paketerfassungssitzung.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: