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

GetValue<TValue>(String)

Reads the value of the specified JavaScript property synchronously.

(Inherited from IJSInProcessObjectReference)
GetValueAsync<TValue>(String, CancellationToken)

Reads the value of the specified JavaScript property asynchronously.

(Inherited from IJSObjectReference)
GetValueAsync<TValue>(String)

Reads the value of the specified JavaScript property asynchronously.

(Inherited from IJSObjectReference)
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)
InvokeNew(String, Object[])

Invokes the specified JavaScript constructor function synchronously. The function is invoked with the new operator.

(Inherited from IJSInProcessObjectReference)
InvokeNewAsync(String, CancellationToken, Object[])

Invokes the specified JavaScript constructor function asynchronously. The function is invoked with the new operator.

(Inherited from IJSObjectReference)
InvokeNewAsync(String, Object[])

Invokes the specified JavaScript constructor function asynchronously. The function is invoked with the new operator.

(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.

SetValue<TValue>(String, TValue)

Updates the value of the specified JavaScript property synchronously. If the property is not defined on the target object, it will be created.

(Inherited from IJSInProcessObjectReference)
SetValueAsync<TValue>(String, TValue, CancellationToken)

Updates the value of the specified JavaScript property asynchronously. If the property is not defined on the target object, it will be created.

(Inherited from IJSObjectReference)
SetValueAsync<TValue>(String, TValue)

Updates the value of the specified JavaScript property asynchronously. If the property is not defined on the target object, it will be created.

(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.

InvokeNewAsync(IJSObjectReference, String, Object[])

Invokes the specified JavaScript constructor function asynchronously. The function is invoked with the new operator.

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

Invokes the specified JavaScript constructor function asynchronously. The function is invoked with the new operator.

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

Invokes the specified JavaScript constructor function asynchronously. The function is invoked with the new operator.

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