4 references to SetExceptionAsync
Aspire.Hosting (2)
Orchestrator\ParameterProcessor.cs (2)
232
await parameterResource.
SetExceptionAsync
(ex).ConfigureAwait(false);
585
await parameterResource.
SetExceptionAsync
(new MissingParameterValueException("Parameter value has been deleted."), cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
AddParameterTests.cs (2)
247
await parameter.
SetExceptionAsync
(exception).DefaultTimeout();
291
? parameter.
SetExceptionAsync
(new InvalidOperationException("canceled"), cts.Token)