3 instantiations of JSException
Microsoft.JSInterop (2)
JSRuntime.cs (2)
254
TaskGenericsUtil.SetTaskCompletionSourceException(tcs, new
JSException
(exceptionText));
262
TaskGenericsUtil.SetTaskCompletionSourceException(tcs, new
JSException
(message, exception));
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSRuntime.cs (1)
34
throw new
JSException
(ex.Message, ex);
12 references to JSException
BasicTestApp (2)
InteropTest\JavaScriptInterop.cs (2)
435
catch (
JSException
e)
449
catch (
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)
296
var
ex = await Assert.ThrowsAsync<
JSException
>(async () => await task);
312
var
ex = await Assert.ThrowsAsync<
JSException
>(async () => await task);
JSRuntimeTest.cs (4)
202
var
jsException = Assert.IsType<
JSException
>(exception.InnerException);
231
var
jsException = await Assert.ThrowsAsync<
JSException
>(async () => await task);