DefaultHubLifetimeManager<THub>.SendConnectionsAsync メソッド

定義

指定した接続に呼び出しメッセージを送信します。

public override System.Threading.Tasks.Task SendConnectionsAsync (System.Collections.Generic.IReadOnlyList<string> connectionIds, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendConnectionsAsync (System.Collections.Generic.IReadOnlyList<string> connectionIds, string methodName, object?[]? args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendConnectionsAsync (System.Collections.Generic.IReadOnlyList<string> connectionIds, string methodName, object?[] args, System.Threading.CancellationToken cancellationToken = default);
override this.SendConnectionsAsync : System.Collections.Generic.IReadOnlyList<string> * string * obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SendConnectionsAsync (connectionIds As IReadOnlyList(Of String), methodName As String, args As Object(), Optional cancellationToken As CancellationToken = Nothing) As Task

パラメーター

connectionIds
IReadOnlyList<String>

接続 ID。

methodName
String

呼び出しメソッド名。

args
Object[]

呼び出し引数。

cancellationToken
CancellationToken

キャンセル要求を監視するためのトークン。 既定値は None です。

戻り値

非同期送信を表す Task

適用対象