/// <summary>Snippet for StopScanRunAsync</summary> public async Task StopScanRunRequestObjectAsync() { // Snippet: StopScanRunAsync(StopScanRunRequest, CallSettings) // Additional: StopScanRunAsync(StopScanRunRequest, CancellationToken) // Create client WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync(); // Initialize request argument(s) StopScanRunRequest request = new StopScanRunRequest { Name = "", }; // Make the request ScanRun response = await webSecurityScannerClient.StopScanRunAsync(request); // End snippet }