Share via


JSInProcessObjectReference(JSInProcessRuntime, Int64) 建構函式

定義

初始化新的 JSInProcessObjectReference 執行個體。

protected public:
 JSInProcessObjectReference(Microsoft::JSInterop::JSInProcessRuntime ^ jsRuntime, long id);
protected internal JSInProcessObjectReference (Microsoft.JSInterop.JSInProcessRuntime jsRuntime, long id);
new Microsoft.JSInterop.Implementation.JSInProcessObjectReference : Microsoft.JSInterop.JSInProcessRuntime * int64 -> Microsoft.JSInterop.Implementation.JSInProcessObjectReference
Protected Friend Sub New (jsRuntime As JSInProcessRuntime, id As Long)

參數

jsRuntime
JSInProcessRuntime

JSInProcessRuntime用於叫用 JS Interop 呼叫的 。

id
Int64

唯一識別碼。

適用於