共用方式為


ScriptHost.CallAsync Method

Definition

public virtual System.Threading.Tasks.Task CallAsync (string method, System.Collections.Generic.Dictionary<string,object> arguments, System.Threading.CancellationToken cancellationToken = default);
override this.CallAsync : string * System.Collections.Generic.Dictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CallAsync (method As String, arguments As Dictionary(Of String, Object), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

method
String
arguments
Dictionary<String,Object>
cancellationToken
CancellationToken

Returns

Applies to