3 instantiations of JSException
Microsoft.JSInterop (2)
JSRuntime.cs (2)
254TaskGenericsUtil.SetTaskCompletionSourceException(tcs, new JSException(exceptionText)); 262TaskGenericsUtil.SetTaskCompletionSourceException(tcs, new JSException(message, exception));
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSRuntime.cs (1)
34throw new JSException(ex.Message, ex);
12 references to JSException
BasicTestApp (2)
InteropTest\JavaScriptInterop.cs (2)
435catch (JSException e) 449catch (JSException e)
Microsoft.JSInterop (2)
JSException.cs (2)
12/// Constructs an instance of <see cref="JSException"/>. 20/// Constructs an instance of <see cref="JSException"/>.
Microsoft.JSInterop.Tests (8)
Infrastructure\DotNetDispatcherTest.cs (4)
296var ex = await Assert.ThrowsAsync<JSException>(async () => await task); 312var ex = await Assert.ThrowsAsync<JSException>(async () => await task);
JSRuntimeTest.cs (4)
202var jsException = Assert.IsType<JSException>(exception.InnerException); 231var jsException = await Assert.ThrowsAsync<JSException>(async () => await task);