ClientProxyExtensions.SendAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- arg4
- Object
第四個引數。
- arg5
- Object
第五個引數。
- arg6
- Object
第六個引數。
- arg7
- Object
第七個引數。
- arg8
- Object
第八個引數。
- arg9
- Object
第九個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, Task 表示非同步叫用。
適用於
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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- arg4
- Object
第四個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- arg4
- Object
第四個引數。
- arg5
- Object
第五個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- arg4
- Object
第四個引數。
- arg5
- Object
第五個引數。
- arg6
- Object
第六個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- arg4
- Object
第四個引數。
- arg5
- Object
第五個引數。
- arg6
- Object
第六個引數。
- arg7
- Object
第七個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- arg4
- Object
第四個引數。
- arg5
- Object
第五個引數。
- arg6
- Object
第六個引數。
- arg7
- Object
第七個引數。
- arg8
- Object
第八個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, 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
參數
- clientProxy
- IClientProxy
- method
- String
所要叫用之方法的名稱。
- arg1
- Object
第一個引數。
- arg2
- Object
第二個引數。
- arg3
- Object
第三個引數。
- arg4
- Object
第四個引數。
- arg5
- Object
第五個引數。
- arg6
- Object
第六個引數。
- arg7
- Object
第七個引數。
- arg8
- Object
第八個引數。
- arg9
- Object
第九個引數。
- arg10
- Object
第十個引數。
- cancellationToken
- CancellationToken
用來監視是否有取消要求的語彙基元。 預設值是 None。
傳回
, Task 表示非同步叫用。