Condividi tramite


RedisHubLifetimeManager<THub> Classe

Definizione

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

Parametri di tipo

THub
Ereditarietà
RedisHubLifetimeManager<THub>
Implementazioni

Costruttori

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

Metodi

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

Invia un messaggio di chiamata alla connessione specificata e attende una risposta.

(Ereditato da 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)

Imposta il risultato della connessione per una chiamata in corso InvokeConnectionAsync<T>(String, String, Object[], CancellationToken) .

(Ereditato da HubLifetimeManager<THub>)
TryGetReturnType(String, Type)

Indica IHubProtocol alle implementazioni il tipo previsto da un risultato della connessione.

(Ereditato da HubLifetimeManager<THub>)

Si applica a