JSInProcessObjectReference Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Implementuje funkce pro IJSInProcessObjectReference.
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
- Dědičnost
- Implementuje
Konstruktory
| JSInProcessObjectReference(JSInProcessRuntime, Int64) |
Inicializuje novou JSInProcessObjectReference instanci. |
Vlastnosti
| Id |
Jedinečný identifikátor přiřazený této instanci. (Zděděno od JSObjectReference) |
Metody
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| DisposeAsync() | (Zděděno od JSObjectReference) |
| Invoke<TValue>(String, Object[]) |
Vyvolá zadanou funkci JavaScript synchronně. |
| InvokeAsync<TValue>(String, CancellationToken, Object[]) |
Vyvolá zadanou funkci JavaScriptu asynchronně. (Zděděno od JSObjectReference) |
| InvokeAsync<TValue>(String, Object[]) |
Vyvolá zadanou funkci JavaScriptu asynchronně. JSRuntime použije časové limity pro tuto operaci na základě hodnoty nakonfigurované v DefaultAsyncTimeout. Pokud chcete odeslat hovor s jiným nebo bez časového limitu, zvažte použití InvokeAsync<TValue>(String, CancellationToken, Object[]). (Zděděno od JSObjectReference) |
| ThrowIfDisposed() | (Zděděno od JSObjectReference) |