JSRuntimeExtensions.InvokeVoidAsync 메서드

정의

오버로드

InvokeVoidAsync(IJSRuntime, String, Object[])

지정된 JavaScript 함수를 비동기적으로 호출합니다.

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

지정된 JavaScript 함수를 비동기적으로 호출합니다.

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

지정된 JavaScript 함수를 비동기적으로 호출합니다.

InvokeVoidAsync(IJSRuntime, String, Object[])

지정된 JavaScript 함수를 비동기적으로 호출합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::ValueTask InvokeVoidAsync(Microsoft::JSInterop::IJSRuntime ^ jsRuntime, System::String ^ identifier, ... cli::array <System::Object ^> ^ args);
public static System.Threading.Tasks.ValueTask InvokeVoidAsync (this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, params object[] args);
public static System.Threading.Tasks.ValueTask InvokeVoidAsync (this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, params object?[]? args);
static member InvokeVoidAsync : Microsoft.JSInterop.IJSRuntime * string * obj[] -> System.Threading.Tasks.ValueTask
<Extension()>
Public Function InvokeVoidAsync (jsRuntime As IJSRuntime, identifier As String, ParamArray args As Object()) As ValueTask

매개 변수

identifier
String

호출할 함수의 식별자입니다. 예를 들어 값 "someScope.someFunction" 은 함수 window.someScope.someFunction를 호출합니다.

args
Object[]

JSON 직렬화 가능한 인수입니다.

반환

ValueTask 비동기 호출 작업을 나타내는 입니다.

적용 대상

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

지정된 JavaScript 함수를 비동기적으로 호출합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::ValueTask InvokeVoidAsync(Microsoft::JSInterop::IJSRuntime ^ jsRuntime, System::String ^ identifier, System::Threading::CancellationToken cancellationToken, ... cli::array <System::Object ^> ^ args);
public static System.Threading.Tasks.ValueTask InvokeVoidAsync (this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, System.Threading.CancellationToken cancellationToken, params object[] args);
public static System.Threading.Tasks.ValueTask InvokeVoidAsync (this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, System.Threading.CancellationToken cancellationToken, params object?[]? args);
static member InvokeVoidAsync : Microsoft.JSInterop.IJSRuntime * string * System.Threading.CancellationToken * obj[] -> System.Threading.Tasks.ValueTask
<Extension()>
Public Function InvokeVoidAsync (jsRuntime As IJSRuntime, identifier As String, cancellationToken As CancellationToken, ParamArray args As Object()) As ValueTask

매개 변수

identifier
String

호출할 함수의 식별자입니다. 예를 들어 값 "someScope.someFunction" 은 함수 window.someScope.someFunction를 호출합니다.

cancellationToken
CancellationToken

작업 취소를 알리는 취소 토큰입니다. 이 매개 변수를 지정하면 시간 제한(DefaultAsyncTimeout)이 적용되는 것과 같은 기본 취소가 재정의됩니다.

args
Object[]

JSON 직렬화 가능한 인수입니다.

반환

ValueTask 비동기 호출 작업을 나타내는 입니다.

적용 대상

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

지정된 JavaScript 함수를 비동기적으로 호출합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::ValueTask InvokeVoidAsync(Microsoft::JSInterop::IJSRuntime ^ jsRuntime, System::String ^ identifier, TimeSpan timeout, ... cli::array <System::Object ^> ^ args);
public static System.Threading.Tasks.ValueTask InvokeVoidAsync (this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, TimeSpan timeout, params object[] args);
public static System.Threading.Tasks.ValueTask InvokeVoidAsync (this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, TimeSpan timeout, params object?[]? args);
static member InvokeVoidAsync : Microsoft.JSInterop.IJSRuntime * string * TimeSpan * obj[] -> System.Threading.Tasks.ValueTask
<Extension()>
Public Function InvokeVoidAsync (jsRuntime As IJSRuntime, identifier As String, timeout As TimeSpan, ParamArray args As Object()) As ValueTask

매개 변수

identifier
String

호출할 함수의 식별자입니다. 예를 들어 값 "someScope.someFunction" 은 함수 window.someScope.someFunction를 호출합니다.

timeout
TimeSpan

비동기 작업을 취소할 기간입니다. 기본 시간 제한(DefaultAsyncTimeout)을 재정의합니다.

args
Object[]

JSON 직렬화 가능한 인수입니다.

반환

ValueTask 비동기 호출 작업을 나타내는 입니다.

적용 대상