Beispiel #1
0
 ///GENMHASH:D6FBED7FC7CBF34940541851FF5C3CC1:F5D6CDA97EA3E1877403AB883B63FBEC
 public async Task StopAsync(CancellationToken cancellationToken = default(CancellationToken))
 {
     await client.StopAsync(parent.ResourceGroupName, parent.Name, Name);
 }
 /// <summary>
 /// Stops a specified packet capture session.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='networkWatcherName'>
 /// The name of the network watcher.
 /// </param>
 /// <param name='packetCaptureName'>
 /// The name of the packet capture session.
 /// </param>
 public static void Stop(this IPacketCapturesOperations operations, string resourceGroupName, string networkWatcherName, string packetCaptureName)
 {
     operations.StopAsync(resourceGroupName, networkWatcherName, packetCaptureName).GetAwaiter().GetResult();
 }