IJSRuntime Interface

Définition

Représente une instance d’un runtime JavaScript vers lequel des appels peuvent être distribués.

public interface class IJSRuntime
public interface IJSRuntime
type IJSRuntime = interface
Public Interface IJSRuntime
Dérivé

Méthodes

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

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

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[]).

Méthodes d’extension

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 à