Freigeben über


PacketCapturesOperationsExtensions.GetAsync Methode

Definition

Ruft eine Paketerfassungssitzung anhand des Namens ab.

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

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: