WebAssemblyJSRuntime.InvokeJS 메서드

정의

오버로드

InvokeJS(String, String)

동기 함수 호출을 수행합니다.

InvokeJS(String, String, JSCallResultType, Int64)

동기 함수 호출을 수행합니다.

InvokeJS(String, String)

Source:
WebAssemblyJSRuntime.cs

동기 함수 호출을 수행합니다.

protected:
 override System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected override string InvokeJS (string identifier, string argsJson);
override this.InvokeJS : string * string -> string
Protected Overrides Function InvokeJS (identifier As String, argsJson As String) As String

매개 변수

identifier
String

호출할 함수의 식별자입니다.

argsJson
String

인수의 JSON 표현입니다.

반환

결과의 JSON 표현입니다.

적용 대상

InvokeJS(String, String, JSCallResultType, Int64)

Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs

동기 함수 호출을 수행합니다.

protected override string InvokeJS (string identifier, string argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
protected override string InvokeJS (string identifier, string? argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
override this.InvokeJS : string * string * Microsoft.JSInterop.JSCallResultType * int64 -> string
Protected Overrides Function InvokeJS (identifier As String, argsJson As String, resultType As JSCallResultType, targetInstanceId As Long) As String

매개 변수

identifier
String

호출할 함수의 식별자입니다.

argsJson
String

인수의 JSON 표현입니다.

resultType
JSCallResultType

호출에서 예상되는 결과의 형식입니다.

targetInstanceId
Int64

대상 JS 개체의 instance ID입니다.

반환

결과의 JSON 표현입니다.

적용 대상