24 references to UnhandledException
Microsoft.AspNetCore.Components.Server (17)
Circuits\CircuitHost.cs (14)
185UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 386UnhandledException(this, new UnhandledExceptionEventArgs(e, isTerminating: false)); 412UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 446UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 471UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 495UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 515UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 545UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 582UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(nex, isTerminating: false)); 590UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 615UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false)); 696UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(e, isTerminating: false)); 704UnhandledException?.Invoke(this, e); 815UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false));
Circuits\CircuitRegistry.cs (3)
87circuitHost.UnhandledException += CircuitHost_UnhandledException; 313circuitHost.UnhandledException -= CircuitHost_UnhandledException; 397circuitHost.UnhandledException -= CircuitHost_UnhandledException;
Microsoft.AspNetCore.Components.Server.Tests (7)
Circuits\CircuitHostTest.cs (7)
141circuitHost.UnhandledException += (sender, eventArgs) => 239circuitHost.UnhandledException += (sender, eventArgs) => initializeException = eventArgs.ExceptionObject; 263circuitHost.UnhandledException += (sender, errorInfo) => 622handler => circuitHost.UnhandledException += new UnhandledExceptionEventHandler(handler), 623handler => circuitHost.UnhandledException -= new UnhandledExceptionEventHandler(handler), 659handler => circuitHost.UnhandledException += new UnhandledExceptionEventHandler(handler), 660handler => circuitHost.UnhandledException -= new UnhandledExceptionEventHandler(handler),