Share via


IJSInProcessObjectReference Interface

Definition

Represents a reference to a JavaScript object whose functions can be invoked synchronously.

public interface class IJSInProcessObjectReference : IAsyncDisposable, IDisposable, Microsoft::JSInterop::IJSObjectReference
public interface IJSInProcessObjectReference : IAsyncDisposable, IDisposable, Microsoft.JSInterop.IJSObjectReference
type IJSInProcessObjectReference = interface
    interface IJSObjectReference
    interface IAsyncDisposable
    interface IDisposable
Public Interface IJSInProcessObjectReference
Implements IAsyncDisposable, IDisposable, IJSObjectReference
Derived
Implements

Methods

Invoke<TValue>(String, Object[])

Invokes the specified JavaScript function synchronously.

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

Invokes the specified JavaScript function asynchronously.

(Inherited from IJSObjectReference)
InvokeAsync<TValue>(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, or no timeout, consider using InvokeAsync<TValue>(String, CancellationToken, Object[]).

(Inherited from IJSObjectReference)

Extension Methods

InvokeVoid(IJSInProcessObjectReference, String, Object[])

Invokes the specified JavaScript function synchronously.

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, CancellationToken, Object[])

Invokes the specified JavaScript function asynchronously.

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

Invokes the specified JavaScript function asynchronously.

InvokeVoidAsync(IJSObjectReference, String, Object[])

Invokes the specified JavaScript function asynchronously.

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

Invokes the specified JavaScript function asynchronously.

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

Invokes the specified JavaScript function asynchronously.

Applies to