JSObjectReferenceExtensions.InvokeVoidAsync Yöntem

Tanım

Aşırı Yüklemeler

InvokeVoidAsync(IJSObjectReference, String, Object[])

Belirtilen JavaScript işlevini zaman uyumsuz olarak çağırır.

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

Belirtilen JavaScript işlevini zaman uyumsuz olarak çağırır.

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

Belirtilen JavaScript işlevini zaman uyumsuz olarak çağırır.

InvokeVoidAsync(IJSObjectReference, String, Object[])

Belirtilen JavaScript işlevini zaman uyumsuz olarak çağırır.

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

Parametreler

identifier
String

İşlevin çağrılacak tanımlayıcısı. Örneğin, değer "someScope.someFunction" hedef örnekte işlevini someScope.someFunction çağırır.

args
Object[]

JSON serileştirilebilir bağımsız değişkenler.

Döndürülenler

ValueTask Zaman uyumsuz çağırma işlemini temsil eden bir.

Şunlara uygulanır

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

Belirtilen JavaScript işlevini zaman uyumsuz olarak çağırır.

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

Parametreler

identifier
String

İşlevin çağrılacak tanımlayıcısı. Örneğin, değer "someScope.someFunction" hedef örnekte işlevini someScope.someFunction çağırır.

cancellationToken
CancellationToken

İşlemin iptaline işaret eden bir iptal belirteci. Bu parametrenin belirtilmesi, zaman aşımlarının (DefaultAsyncTimeout) uygulanması gibi varsayılan iptalleri geçersiz kılar.

args
Object[]

JSON serileştirilebilir bağımsız değişkenler.

Döndürülenler

ValueTask Zaman uyumsuz çağırma işlemini temsil eden bir.

Şunlara uygulanır

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

Belirtilen JavaScript işlevini zaman uyumsuz olarak çağırır.

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

Parametreler

identifier
String

İşlevin çağrılacak tanımlayıcısı. Örneğin, değer "someScope.someFunction" hedef örnekte işlevini someScope.someFunction çağırır.

timeout
TimeSpan

Zaman uyumsuz işlemin iptal edileceği süre. Varsayılan zaman aşımlarını (DefaultAsyncTimeout) geçersiz kılar.

args
Object[]

JSON serileştirilebilir bağımsız değişkenler.

Döndürülenler

ValueTask Zaman uyumsuz çağırma işlemini temsil eden bir.

Şunlara uygulanır