JSRuntime.InvokeAsync Method

Definition

Overloads

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

InvokeAsync<TValue>(String, Object[])

public:
generic <typename TValue>
 virtual System::Threading::Tasks::ValueTask<TValue> InvokeAsync(System::String ^ identifier, cli::array <System::Object ^> ^ args);
public System.Threading.Tasks.ValueTask<TValue> InvokeAsync<TValue> (string identifier, object?[]? args);
abstract member InvokeAsync : string * obj[] -> System.Threading.Tasks.ValueTask<'Value>
override this.InvokeAsync : string * obj[] -> System.Threading.Tasks.ValueTask<'Value>
Public Function InvokeAsync(Of TValue) (identifier As String, args As Object()) As ValueTask(Of TValue)

Type Parameters

TValue

Parameters

identifier
String
args
Object[]

Returns

ValueTask<TValue>

Implements

Applies to

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

public:
generic <typename TValue>
 virtual System::Threading::Tasks::ValueTask<TValue> InvokeAsync(System::String ^ identifier, System::Threading::CancellationToken cancellationToken, cli::array <System::Object ^> ^ args);
public System.Threading.Tasks.ValueTask<TValue> InvokeAsync<TValue> (string identifier, System.Threading.CancellationToken cancellationToken, object?[]? args);
abstract member InvokeAsync : string * System.Threading.CancellationToken * obj[] -> System.Threading.Tasks.ValueTask<'Value>
override this.InvokeAsync : string * System.Threading.CancellationToken * obj[] -> System.Threading.Tasks.ValueTask<'Value>
Public Function InvokeAsync(Of TValue) (identifier As String, cancellationToken As CancellationToken, args As Object()) As ValueTask(Of TValue)

Type Parameters

TValue

Parameters

identifier
String
cancellationToken
CancellationToken
args
Object[]

Returns

ValueTask<TValue>

Implements

Applies to