Partilhar via


RedisHubLifetimeManager<THub> Classe

Definição

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

Parâmetros de tipo

THub
Herança
RedisHubLifetimeManager<THub>
Implementações

Construtores

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

Métodos

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

Envia uma mensagem de invocação para a conexão especificada e aguarda uma resposta.

(Herdado de 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)

Define o resultado da conexão para uma chamada em andamento InvokeConnectionAsync<T>(String, String, Object[], CancellationToken) .

(Herdado de HubLifetimeManager<THub>)
TryGetReturnType(String, Type)

Informa às IHubProtocol implementações qual é o tipo esperado de um resultado de conexão.

(Herdado de HubLifetimeManager<THub>)

Aplica-se a