34 references to SetError
Aspire.Hosting.RemoteHost (33)
AssemblyLoader.cs (1)
68
activity.
SetError
(ex);
Ats\CapabilityDispatcher.cs (6)
585
activity.
SetError
(ex);
590
activity.
SetError
(ex);
595
activity.
SetError
(ex);
609
activity.
SetError
(ex);
617
activity.
SetError
(ex);
631
activity.
SetError
(ex);
Ats\ExternalCapabilityRegistry.cs (4)
259
activity.
SetError
(ex);
270
activity.
SetError
(_initializationException);
278
activity.
SetError
(_initializationException);
296
activity.
SetError
(_initializationException);
AtsContextFactory.cs (1)
49
activity.
SetError
(ex);
CodeGeneration\CodeGenerationService.cs (2)
100
activity.
SetError
(ex);
274
activity.
SetError
(ex);
JsonRpcServer.cs (3)
126
activity.
SetError
(ex);
328
activity.
SetError
(ex);
334
activity.
SetError
(ex);
Language\IntegrationHostLauncher.cs (5)
111
activity.
SetError
(ex);
118
activity.
SetError
(ex);
183
activity.
SetError
(ex);
228
activity.
SetError
(error);
233
activity.
SetError
(ex);
Language\IntegrationHostProcessLauncher.cs (2)
94
activity.
SetError
(ex);
101
activity.
SetError
(ex);
Language\LanguageService.cs (3)
82
activity.
SetError
(ex);
121
activity.
SetError
(ex);
155
activity.
SetError
(ex);
RemoteAppHostService.cs (5)
78
activity.
SetError
(ex);
110
activity.
SetError
(ex);
139
activity.
SetError
(ex);
157
activity.
SetError
(ex);
162
activity.
SetError
(ex);
RemoteHostServer.cs (1)
56
activity.
SetError
(ex);
Aspire.Hosting.RemoteHost.Tests (1)
RemoteHostProfilingTelemetryTests.cs (1)
26
phase.
SetError
(new TimeoutException("Registration deadline exceeded."));