ClientProxyExtensions.SendAsync 方法

定义

重载

SendAsync(IClientProxy, String, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

SendAsync(IClientProxy, String, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

arg4
Object

第四个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

arg4
Object

第四个参数。

arg5
Object

第五个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

arg4
Object

第四个参数。

arg5
Object

第五个参数。

arg6
Object

第六个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

arg4
Object

第四个参数。

arg5
Object

第五个参数。

arg6
Object

第六个参数。

arg7
Object

第7个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

arg4
Object

第四个参数。

arg5
Object

第五个参数。

arg6
Object

第六个参数。

arg7
Object

第7个参数。

arg8
Object

第八个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, arg9 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

arg4
Object

第四个参数。

arg5
Object

第五个参数。

arg6
Object

第六个参数。

arg7
Object

第7个参数。

arg8
Object

第八个参数。

arg9
Object

第9个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于

SendAsync(IClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

对连接 () 实例表示的连接调用方法 IClientProxy 。 不会等待接收方的响应。

public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SendAsync (this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, System.Threading.CancellationToken cancellationToken = default);
static member SendAsync : Microsoft.AspNetCore.SignalR.IClientProxy * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SendAsync (clientProxy As IClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, arg9 As Object, arg10 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

method
String

要调用的方法的名称。

arg1
Object

第一个参数。

arg2
Object

第二个参数。

arg3
Object

第三个参数。

arg4
Object

第四个参数。

arg5
Object

第五个参数。

arg6
Object

第六个参数。

arg7
Object

第7个参数。

arg8
Object

第八个参数。

arg9
Object

第9个参数。

arg10
Object

第十个参数。

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值为 None

返回

Task

Task表示异步调用的。

适用于