25 references to UnhandledException
Microsoft.AspNetCore.Components.Server (17)
Circuits\CircuitHost.cs (14)
187UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 396UnhandledException(this, new UnhandledExceptionEventArgs(e, isTerminating: false)); 422UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 456UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 481UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 505UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 525UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 555UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 592UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(nex, isTerminating: false)); 600UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 625UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 706UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(e, isTerminating: false)); 714UnhandledException?.Invoke(this, e); 853UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false));
Circuits\CircuitRegistry.cs (3)
87circuitHost.UnhandledException += CircuitHost_UnhandledException; 313circuitHost.UnhandledException -= CircuitHost_UnhandledException; 398circuitHost.UnhandledException -= CircuitHost_UnhandledException;
Microsoft.AspNetCore.Components.Server.Tests (8)
Circuits\CircuitHostTest.cs (8)
141circuitHost.UnhandledException += (sender, eventArgs) => 239circuitHost.UnhandledException += (sender, eventArgs) => initializeException = eventArgs.ExceptionObject; 263circuitHost.UnhandledException += (sender, errorInfo) => 600circuitHost.UnhandledException += (_, e) => 1167handler => circuitHost.UnhandledException += new UnhandledExceptionEventHandler(handler), 1168handler => circuitHost.UnhandledException -= new UnhandledExceptionEventHandler(handler), 1204handler => circuitHost.UnhandledException += new UnhandledExceptionEventHandler(handler), 1205handler => circuitHost.UnhandledException -= new UnhandledExceptionEventHandler(handler),