7 instantiations of ExtensionOperationCanceledException
aspire (6)
Backchannel\ExtensionBackchannel.cs (5)
525throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 555throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 579throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 605throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 631throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
Interaction\ExtensionInteractionService.cs (1)
232throw new ExtensionOperationCanceledException(promptText);
Aspire.Cli.Tests (1)
Commands\DoCommandTests.cs (1)
48PromptForStringCallback = (_, _, _, _, _, _) => throw new ExtensionOperationCanceledException("Pipeline step selection was canceled.")
8 references to ExtensionOperationCanceledException
aspire (7)
Commands\BaseCommand.cs (1)
183catch (OperationCanceledException ex) when (cancellationToken.IsCancellationRequested || ex is ExtensionOperationCanceledException)
Commands\PipelineCommandBase.cs (1)
408catch (ExtensionOperationCanceledException)
Commands\RunCommand.cs (1)
614catch (OperationCanceledException ex) when (ex.CancellationToken == cancellationToken || ex is ExtensionOperationCanceledException)
Interaction\ExtensionInteractionService.cs (4)
287if (ex is not ExtensionOperationCanceledException) 325if (ex is not ExtensionOperationCanceledException) 366if (ex is not ExtensionOperationCanceledException) 588catch (Exception ex) when (ex is not ExtensionOperationCanceledException)
Aspire.Cli.Tests (1)
Interaction\ExtensionInteractionServiceTests.cs (1)
177await Assert.ThrowsAsync<ExtensionOperationCanceledException>(() =>