8 instantiations of ExtensionOperationCanceledException
aspire (6)
Backchannel\ExtensionBackchannel.cs (5)
565throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 598throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 622throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 648throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText)); 674throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
Interaction\ExtensionInteractionService.cs (1)
238throw new ExtensionOperationCanceledException(promptText);
Aspire.Cli.Tests (2)
Commands\DoCommandTests.cs (1)
48PromptForStringCallback = (_, _, _, _, _, _) => throw new ExtensionOperationCanceledException("Pipeline step selection was canceled.")
Commands\RunCommandTests.cs (1)
2129? new ExtensionOperationCanceledException("Extension operation 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)
689ex is ExtensionOperationCanceledException ||
Interaction\ExtensionInteractionService.cs (4)
293if (ex is not ExtensionOperationCanceledException) 331if (ex is not ExtensionOperationCanceledException) 370if (ex is not ExtensionOperationCanceledException) 698catch (Exception ex) when (ex is not ExtensionOperationCanceledException)
Aspire.Cli.Tests (1)
Interaction\ExtensionInteractionServiceTests.cs (1)
416await Assert.ThrowsAsync<ExtensionOperationCanceledException>(() =>