IJSUnmarshalledRuntime.InvokeUnmarshalled 方法

定义

重载

InvokeUnmarshalled<T0,T1,T2,TResult>(String, T0, T1, T2)
已过时.

调用使用指定标识符注册的 JavaScript 函数。

InvokeUnmarshalled<T0,T1,TResult>(String, T0, T1)
已过时.

调用使用指定标识符注册的 JavaScript 函数。

InvokeUnmarshalled<T0,TResult>(String, T0)
已过时.

调用使用指定标识符注册的 JavaScript 函数。

InvokeUnmarshalled<TResult>(String)
已过时.

调用使用指定标识符注册的 JavaScript 函数。

InvokeUnmarshalled<T0,T1,T2,TResult>(String, T0, T1, T2)

注意

This method is obsolete. Use JSImportAttribute instead.

调用使用指定标识符注册的 JavaScript 函数。

public:
generic <typename T0, typename T1, typename T2, typename TResult>
 TResult InvokeUnmarshalled(System::String ^ identifier, T0 arg0, T1 arg1, T2 arg2);
public TResult InvokeUnmarshalled<T0,T1,T2,TResult> (string identifier, T0 arg0, T1 arg1, T2 arg2);
[System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")]
public TResult InvokeUnmarshalled<T0,T1,T2,TResult> (string identifier, T0 arg0, T1 arg1, T2 arg2);
abstract member InvokeUnmarshalled : string * 'T0 * 'T1 * 'T2 -> 'Result
[<System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")>]
abstract member InvokeUnmarshalled : string * 'T0 * 'T1 * 'T2 -> 'Result
Public Function InvokeUnmarshalled(Of T0, T1, T2, TResult) (identifier As String, arg0 As T0, arg1 As T1, arg2 As T2) As TResult

类型参数

T0

第一个参数的类型。

T1

第二个参数的类型。

T2

第三个参数的类型。

TResult

与函数的返回值类型对应的 .NET 类型。

参数

identifier
String

注册目标函数时使用的标识符。

arg0
T0

第一个参数。

arg1
T1

第二个参数。

arg2
T2

第三个参数。

返回

TResult

函数调用的结果。

属性

适用于

InvokeUnmarshalled<T0,T1,TResult>(String, T0, T1)

注意

This method is obsolete. Use JSImportAttribute instead.

调用使用指定标识符注册的 JavaScript 函数。

public:
generic <typename T0, typename T1, typename TResult>
 TResult InvokeUnmarshalled(System::String ^ identifier, T0 arg0, T1 arg1);
public TResult InvokeUnmarshalled<T0,T1,TResult> (string identifier, T0 arg0, T1 arg1);
[System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")]
public TResult InvokeUnmarshalled<T0,T1,TResult> (string identifier, T0 arg0, T1 arg1);
abstract member InvokeUnmarshalled : string * 'T0 * 'T1 -> 'Result
[<System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")>]
abstract member InvokeUnmarshalled : string * 'T0 * 'T1 -> 'Result
Public Function InvokeUnmarshalled(Of T0, T1, TResult) (identifier As String, arg0 As T0, arg1 As T1) As TResult

类型参数

T0

第一个参数的类型。

T1

第二个参数的类型。

TResult

与函数的返回值类型对应的 .NET 类型。

参数

identifier
String

注册目标函数时使用的标识符。

arg0
T0

第一个参数。

arg1
T1

第二个参数。

返回

TResult

函数调用的结果。

属性

适用于

InvokeUnmarshalled<T0,TResult>(String, T0)

注意

This method is obsolete. Use JSImportAttribute instead.

调用使用指定标识符注册的 JavaScript 函数。

public:
generic <typename T0, typename TResult>
 TResult InvokeUnmarshalled(System::String ^ identifier, T0 arg0);
public TResult InvokeUnmarshalled<T0,TResult> (string identifier, T0 arg0);
[System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")]
public TResult InvokeUnmarshalled<T0,TResult> (string identifier, T0 arg0);
abstract member InvokeUnmarshalled : string * 'T0 -> 'Result
[<System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")>]
abstract member InvokeUnmarshalled : string * 'T0 -> 'Result
Public Function InvokeUnmarshalled(Of T0, TResult) (identifier As String, arg0 As T0) As TResult

类型参数

T0

第一个参数的类型。

TResult

与函数的返回值类型对应的 .NET 类型。

参数

identifier
String

注册目标函数时使用的标识符。

arg0
T0

第一个参数。

返回

TResult

函数调用的结果。

属性

适用于

InvokeUnmarshalled<TResult>(String)

注意

This method is obsolete. Use JSImportAttribute instead.

调用使用指定标识符注册的 JavaScript 函数。

public:
generic <typename TResult>
 TResult InvokeUnmarshalled(System::String ^ identifier);
public TResult InvokeUnmarshalled<TResult> (string identifier);
[System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")]
public TResult InvokeUnmarshalled<TResult> (string identifier);
abstract member InvokeUnmarshalled : string -> 'Result
[<System.Obsolete("This method is obsolete. Use JSImportAttribute instead.")>]
abstract member InvokeUnmarshalled : string -> 'Result
Public Function InvokeUnmarshalled(Of TResult) (identifier As String) As TResult

类型参数

TResult

与函数的返回值类型对应的 .NET 类型。

参数

identifier
String

注册目标函数时使用的标识符。

返回

TResult

函数调用的结果。

属性

适用于