HubConnection Classe

Definizione

Connessione usata per richiamare i metodi hub in un server SignalR.

public ref class HubConnection
public class HubConnection
public class HubConnection : IAsyncDisposable
type HubConnection = class
type HubConnection = class
    interface IAsyncDisposable
Public Class HubConnection
Public Class HubConnection
Implements IAsyncDisposable
Ereditarietà
HubConnection
Implementazioni

Commenti

È necessario creare un HubConnection oggetto usando HubConnectionBuilder. Prima che i metodi hub possano essere richiamati, è necessario avviare la connessione usando StartAsync(CancellationToken). Pulire una connessione usando StopAsync(CancellationToken) o DisposeAsync().

Costruttori

HubConnection(IConnectionFactory, IHubProtocol, EndPoint, IServiceProvider, ILoggerFactory)

Inizializza una nuova istanza della classe HubConnection.

HubConnection(IConnectionFactory, IHubProtocol, EndPoint, IServiceProvider, ILoggerFactory, IRetryPolicy)

Inizializza una nuova istanza della classe HubConnection.

HubConnection(IConnectionFactory, IHubProtocol, ILoggerFactory)

Inizializza una nuova istanza della classe HubConnection.

HubConnection(IConnectionFactory, IHubProtocol, IServiceProvider, ILoggerFactory)

Inizializza una nuova istanza della classe HubConnection.

Campi

DefaultHandshakeTimeout

Timeout predefinito che specifica per quanto tempo attendere che l'handshake risponda prima di chiudere la connessione. Il valore predefinito è 15 secondi.

DefaultKeepAliveInterval

Intervallo predefinito che il client invierà messaggi keep-alive per informare il server di non chiudere la connessione. Il valore predefinito è 15 secondi.

DefaultServerTimeout

Timeout predefinito che specifica per quanto tempo attendere un messaggio prima di chiudere la connessione. Il valore predefinito è 30 secondi.

Proprietà

ConnectionId

Ottiene l'ID corrente della connessione. Questo valore verrà cancellato quando la connessione viene arrestata e avrà un nuovo valore ogni volta che viene stabilita la connessione. Questo valore sarà Null se il passaggio di negoziazione viene ignorato tramite HttpConnectionOptions o se il trasporto WebSockets viene specificato in modo esplicito perché il client ignora anche la negoziazione in questo caso.

HandshakeTimeout

Ottiene o imposta il timeout per l'handshake iniziale.

KeepAliveInterval

Ottiene o imposta l'intervallo in corrispondenza del quale il client invia messaggi ping.

ServerTimeout

Ottiene o imposta l'intervallo di timeout del server per la connessione.

State

Indica lo stato dell'oggetto HubConnection nel server.

Metodi

DisposeAsync()

Elimina HubConnection.

InvokeCoreAsync(String, Type, Object[], CancellationToken)

Richiama un metodo hub nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

On(String, Type[], Func<Object[],Object,Task<Object>>, Object)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On(String, Type[], Func<Object[],Object,Task>, Object)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

Remove(String)

Rimuove tutti i gestori associati al metodo con il nome del metodo specificato.

ResetSendPing()

Connessione usata per richiamare i metodi hub in un server SignalR.

ResetTimeout()

Connessione usata per richiamare i metodi hub in un server SignalR.

SendCoreAsync(String, Object[], CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

StartAsync(CancellationToken)

Avvia una connessione al server.

StopAsync(CancellationToken)

Arresta una connessione al server.

StreamAsChannelCoreAsync(String, Type, Object[], CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsyncCore<TResult>(String, Object[], CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

Eventi

Closed

Si verifica quando la connessione viene chiusa. La connessione potrebbe essere chiusa a causa di un errore o a causa del server o del client che chiude intenzionalmente la connessione senza errori.

Reconnected

Si verifica quando l'oggetto HubConnection viene riconnesso correttamente dopo aver perso la connessione sottostante.

Reconnecting

Si verifica all'avvio della HubConnection riconnessione dopo la perdita della connessione sottostante.

Metodi di estensione

InvokeAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync(HubConnection, String, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e l'argomento del metodo specificati.

InvokeAsync(HubConnection, String, CancellationToken)

Richiama un metodo hub nel server usando il nome del metodo specificato.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e l'argomento del metodo specificati.

InvokeAsync<TResult>(HubConnection, String, CancellationToken)

Richiama un metodo hub nel server usando il nome del metodo specificato.

InvokeCoreAsync(HubConnection, String, Object[], CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

InvokeCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati.

On(HubConnection, String, Action)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On(HubConnection, String, Func<Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On(HubConnection, String, Type[], Func<Object[],Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1>(HubConnection, String, Action<T1>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1>(HubConnection, String, Func<T1,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<TResult>(HubConnection, String, Func<TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<TResult>(HubConnection, String, Func<Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<TResult>(HubConnection, String, Type[], Func<Object[],Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2>(HubConnection, String, Action<T1,T2>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2>(HubConnection, String, Func<T1,T2,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,TResult>(HubConnection, String, Func<T1,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,TResult>(HubConnection, String, Func<T1,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3>(HubConnection, String, Action<T1,T2,T3>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3>(HubConnection, String, Func<T1,T2,T3,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,TResult>(HubConnection, String, Func<T1,T2,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,TResult>(HubConnection, String, Func<T1,T2,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4>(HubConnection, String, Action<T1,T2,T3,T4>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4>(HubConnection, String, Func<T1,T2,T3,T4,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,TResult>(HubConnection, String, Func<T1,T2,T3,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,TResult>(HubConnection, String, Func<T1,T2,T3,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5>(HubConnection, String, Action<T1,T2,T3,T4,T5>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,T5>(HubConnection, String, Func<T1,T2,T3,T4,T5,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,TResult>(HubConnection, String, Func<T1,T2,T3,T4,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,TResult>(HubConnection, String, Func<T1,T2,T3,T4,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,T5,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,T5,T6,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,T6,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7,T8>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato.

On<T1,T2,T3,T4,T5,T6,T7,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,T6,T7,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,T6,T7,T8,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

On<T1,T2,T3,T4,T5,T6,T7,T8,TResult>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task<TResult>>)

Registra un gestore che verrà richiamato quando viene richiamato il metodo hub con il nome del metodo specificato. Restituisce il valore restituito dal gestore al server se il server richiede un risultato.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e gli argomenti del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e l'argomento del metodo specificati. Non attende una risposta dal ricevitore.

SendAsync(HubConnection, String, CancellationToken)

Richiama un metodo hub nel server usando il nome del metodo specificato. Non attende una risposta dal ricevitore.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsChannelAsync<TResult>(HubConnection, String, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsChannelAsync<TResult>(HubConnection, String, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo e il tipo restituito specificati.

StreamAsChannelCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e gli argomenti.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, Object, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo specificato, il tipo restituito e l'argomento.

StreamAsync<TResult>(HubConnection, String, CancellationToken)

Richiama un metodo hub di streaming nel server usando il nome del metodo e il tipo restituito specificati.

Si applica a