IJSInProcessRuntime Interface

Définition

Représente une instance d’un runtime JavaScript auquel les appels peuvent être distribués.

public interface class IJSInProcessRuntime : Microsoft::JSInterop::IJSRuntime
public interface IJSInProcessRuntime : Microsoft.JSInterop.IJSRuntime
type IJSInProcessRuntime = interface
    interface IJSRuntime
Public Interface IJSInProcessRuntime
Implements IJSRuntime
Dérivé
Implémente

Méthodes

Invoke<TResult>(String, Object[])

Appelle la fonction JavaScript spécifiée de manière synchrone.

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

Appelle la fonction JavaScript spécifiée de manière asynchrone.

(Hérité de IJSRuntime)
InvokeAsync<TValue>(String, Object[])

Appelle la fonction JavaScript spécifiée de manière asynchrone.

JSRuntime applique des délais d’expiration à cette opération en fonction de la valeur configurée dans DefaultAsyncTimeout. Pour distribuer un appel avec un délai d’expiration différent, ou sans délai d’expiration, envisagez d’utiliser InvokeAsync<TValue>(String, CancellationToken, Object[]).

(Hérité de IJSRuntime)

Méthodes d’extension

InvokeVoid(IJSInProcessRuntime, String, Object[])

Appelle la fonction JavaScript spécifiée de manière synchrone.

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

Appelle la fonction JavaScript spécifiée de manière asynchrone.

JSRuntime applique des délais d’expiration à cette opération en fonction de la valeur configurée dans DefaultAsyncTimeout. Pour distribuer un appel avec un délai d’expiration différent, ou sans délai d’expiration, envisagez d’utiliser InvokeAsync<TValue>(String, CancellationToken, Object[]).

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

Appelle la fonction JavaScript spécifiée de manière asynchrone.

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

Appelle la fonction JavaScript spécifiée de manière asynchrone.

InvokeVoidAsync(IJSRuntime, String, Object[])

Appelle la fonction JavaScript spécifiée de manière asynchrone.

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

Appelle la fonction JavaScript spécifiée de manière asynchrone.

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

Appelle la fonction JavaScript spécifiée de manière asynchrone.

S’applique à