JSInProcessObjectReference Sınıf

Tanım

için IJSInProcessObjectReferenceişlevselliğini uygular.

public ref class JSInProcessObjectReference : Microsoft::JSInterop::Implementation::JSObjectReference, IAsyncDisposable, IDisposable, Microsoft::JSInterop::IJSInProcessObjectReference
public class JSInProcessObjectReference : Microsoft.JSInterop.Implementation.JSObjectReference, IAsyncDisposable, IDisposable, Microsoft.JSInterop.IJSInProcessObjectReference
type JSInProcessObjectReference = class
    inherit JSObjectReference
    interface IJSInProcessObjectReference
    interface IJSObjectReference
    interface IAsyncDisposable
    interface IDisposable
Public Class JSInProcessObjectReference
Inherits JSObjectReference
Implements IAsyncDisposable, IDisposable, IJSInProcessObjectReference
Devralma
JSInProcessObjectReference
Uygulamalar

Oluşturucular

JSInProcessObjectReference(JSInProcessRuntime, Int64)

Yeni JSInProcessObjectReference bir örnek başlatır.

Özellikler

Id

Bu örneğe atanan benzersiz tanımlayıcı.

(Devralındığı yer: JSObjectReference)

Yöntemler

Dispose()

için IJSInProcessObjectReferenceişlevselliğini uygular.

DisposeAsync()

için IJSInProcessObjectReferenceişlevselliğini uygular.

(Devralındığı yer: JSObjectReference)
Invoke<TValue>(String, Object[])

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

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

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

(Devralındığı yer: JSObjectReference)
InvokeAsync<TValue>(String, Object[])

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

JSRuntime , içinde DefaultAsyncTimeoutyapılandırılan değere göre bu işleme zaman aşımları uygular. Farklı bir zaman aşımına sahip veya hiç zaman aşımı olmayan bir çağrı göndermek için kullanmayı InvokeAsync<TValue>(String, CancellationToken, Object[])göz önünde bulundurun.

(Devralındığı yer: JSObjectReference)
ThrowIfDisposed()

için IJSInProcessObjectReferenceişlevselliğini uygular.

(Devralındığı yer: JSObjectReference)

Uzantı Metotları

InvokeVoid(IJSInProcessObjectReference, String, Object[])

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

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

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

JSRuntime , içinde DefaultAsyncTimeoutyapılandırılan değere göre bu işleme zaman aşımları uygular. Farklı bir zaman aşımına sahip veya zaman aşımı olmayan bir çağrı göndermek için kullanmayı InvokeAsync<TValue>(String, CancellationToken, Object[])göz önünde bulundurun.

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

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

InvokeAsync<TValue>(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.

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.

Şunlara uygulanır