Aracılığıyla paylaş


RedisHubLifetimeManager<THub> Sınıf

Tanım

generic <typename THub>
 where THub : Hubpublic ref class RedisHubLifetimeManager : Microsoft::AspNetCore::SignalR::HubLifetimeManager<THub>, IDisposable
public class RedisHubLifetimeManager<THub> : Microsoft.AspNetCore.SignalR.HubLifetimeManager<THub>, IDisposable where THub : Hub
type RedisHubLifetimeManager<'Hub (requires 'Hub :> Hub)> = class
    inherit HubLifetimeManager<'Hub (requires 'Hub :> Hub)>
    interface IDisposable
Public Class RedisHubLifetimeManager(Of THub)
Inherits HubLifetimeManager(Of THub)
Implements IDisposable

Tür Parametreleri

THub
Devralma
RedisHubLifetimeManager<THub>
Uygulamalar

Oluşturucular

RedisHubLifetimeManager<THub>(ILogger<RedisHubLifetimeManager<THub>>, IOptions<RedisOptions>, IHubProtocolResolver)

Yöntemler

AddToGroupAsync(String, String, CancellationToken)
Dispose()
InvokeConnectionAsync<T>(String, String, Object[], CancellationToken)

Belirtilen bağlantıya bir çağırma iletisi gönderir ve yanıt bekler.

(Devralındığı yer: HubLifetimeManager<THub>)
OnConnectedAsync(HubConnectionContext)
OnDisconnectedAsync(HubConnectionContext)
RemoveFromGroupAsync(String, String, CancellationToken)
SendAllAsync(String, Object[], CancellationToken)
SendAllExceptAsync(String, Object[], IReadOnlyList<String>, CancellationToken)
SendConnectionAsync(String, String, Object[], CancellationToken)
SendConnectionsAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
SendGroupAsync(String, String, Object[], CancellationToken)
SendGroupExceptAsync(String, String, Object[], IReadOnlyList<String>, CancellationToken)
SendGroupsAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
SendUserAsync(String, String, Object[], CancellationToken)
SendUsersAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
SetConnectionResultAsync(String, CompletionMessage)

Devam eden InvokeConnectionAsync<T>(String, String, Object[], CancellationToken) bir çağrı için bağlantı sonucunu ayarlar.

(Devralındığı yer: HubLifetimeManager<THub>)
TryGetReturnType(String, Type)

Uygulamalara bir bağlantı sonucundan beklenen türü bildirir IHubProtocol .

(Devralındığı yer: HubLifetimeManager<THub>)

Şunlara uygulanır