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 互操作调用的 。

id
Int64

唯一标识符。

适用于