Share via


JSObjectReferenceExtensions Class

Definition

Extensions for IJSObjectReference.

public ref class JSObjectReferenceExtensions abstract sealed
public static class JSObjectReferenceExtensions
type JSObjectReferenceExtensions = class
Public Module JSObjectReferenceExtensions
Inheritance
JSObjectReferenceExtensions

Methods

InvokeAsync<TValue>(IJSObjectReference, String, CancellationToken, Object[])

Invokes the specified JavaScript function asynchronously.

InvokeAsync<TValue>(IJSObjectReference, String, Object[])

Invokes the specified JavaScript function asynchronously.

JSRuntime will apply timeouts to this operation based on the value configured in DefaultAsyncTimeout. To dispatch a call with a different timeout, or no timeout, consider using InvokeAsync<TValue>(String, CancellationToken, Object[]).

InvokeAsync<TValue>(IJSObjectReference, String, TimeSpan, Object[])

Invokes the specified JavaScript function asynchronously.

InvokeVoidAsync(IJSObjectReference, String, CancellationToken, Object[])

Invokes the specified JavaScript function asynchronously.

InvokeVoidAsync(IJSObjectReference, String, Object[])

Invokes the specified JavaScript function asynchronously.

InvokeVoidAsync(IJSObjectReference, String, TimeSpan, Object[])

Invokes the specified JavaScript function asynchronously.

Applies to