Aracılığıyla paylaş


HubLifetimeManager<THub>.SendGroupExceptAsync Yöntem

Tanım

Belirtilen gruplara belirtilen bağlantılar dışında bir çağrı iletisi gönderir.

public abstract System.Threading.Tasks.Task SendGroupExceptAsync (string groupName, string methodName, object[] args, System.Collections.Generic.IReadOnlyList<string> excludedConnectionIds, System.Threading.CancellationToken cancellationToken = default);
public abstract System.Threading.Tasks.Task SendGroupExceptAsync (string groupName, string methodName, object?[]? args, System.Collections.Generic.IReadOnlyList<string> excludedConnectionIds, System.Threading.CancellationToken cancellationToken = default);
public abstract System.Threading.Tasks.Task SendGroupExceptAsync (string groupName, string methodName, object?[] args, System.Collections.Generic.IReadOnlyList<string> excludedConnectionIds, System.Threading.CancellationToken cancellationToken = default);
abstract member SendGroupExceptAsync : string * string * obj[] * System.Collections.Generic.IReadOnlyList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function SendGroupExceptAsync (groupName As String, methodName As String, args As Object(), excludedConnectionIds As IReadOnlyList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task

Parametreler

groupName
String

Grup adı.

methodName
String

Çağırma yöntemi adı.

args
Object[]

Çağırma bağımsız değişkenleri.

excludedConnectionIds
IReadOnlyList<String>

Dışlanması gereken bağlantı kimlikleri koleksiyonu.

cancellationToken
CancellationToken

İptal istekleri için izlenecek belirteç. None varsayılan değerdir.

Döndürülenler

Task Zaman uyumsuz göndermeyi temsil eden bir.

Şunlara uygulanır