Share via


IJSUnmarshalledObjectReference Interface

Definition

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

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

Methods

Invoke<TValue>(String, Object[])

Invokes the specified JavaScript function synchronously.

(Inherited from IJSInProcessObjectReference)
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)
InvokeUnmarshalled<T0,T1,T2,TResult>(String, T0, T1, T2)
Obsolete.

Invokes the JavaScript function registered with the specified identifier.

InvokeUnmarshalled<T0,T1,TResult>(String, T0, T1)
Obsolete.

Invokes the JavaScript function registered with the specified identifier.

InvokeUnmarshalled<T0,TResult>(String, T0)
Obsolete.

Invokes the JavaScript function registered with the specified identifier.

InvokeUnmarshalled<TResult>(String)
Obsolete.

Invokes the JavaScript function registered with the specified identifier.

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