HubConnectionExtensions.InvokeAsync Metodo

Definizione

Overload

InvokeAsync(HubConnection, String, CancellationToken)

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

InvokeAsync(HubConnection, String, Object, CancellationToken)

Richiama un metodo hub nel server usando il nome e l'argomento 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, 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, 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, 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, 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, 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, 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, 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.

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(HubConnection, String, CancellationToken)

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

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task<TResult> che rappresenta l'richiamare asincrona.

Si applica a

InvokeAsync(HubConnection, String, Object, CancellationToken)

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

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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

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

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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

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

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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

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

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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

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

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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.

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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.

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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.

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

arg8
Object

L'ottavo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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.

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, arg9 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

arg8
Object

L'ottavo argomento.

arg9
Object

Il nono argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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.

public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task InvokeAsync (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InvokeAsync (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, arg9 As Object, arg10 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

arg8
Object

L'ottavo argomento.

arg9
Object

Il nono argomento.

arg10
Object

Il decimo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Oggetto Task che rappresenta l'richiamare asincrona.

Si applica a

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.

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, arg9 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

arg8
Object

L'ottavo argomento.

arg9
Object

Il nono argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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.

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

arg8
Object

L'ottavo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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.

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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.

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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.

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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.

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, arg8 As Object, arg9 As Object, arg10 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

arg5
Object

Quinto argomento.

arg6
Object

Sesto argomento.

arg7
Object

Il settimo argomento.

arg8
Object

L'ottavo argomento.

arg9
Object

Il nono argomento.

arg10
Object

Il decimo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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

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

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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

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

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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

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

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

InvokeAsync<TResult>(HubConnection, String, CancellationToken)

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

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a

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

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

public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object arg1, object arg2, object arg3, object arg4, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<TResult> InvokeAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, System.Threading.CancellationToken cancellationToken = default);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function InvokeAsync(Of TResult) (hubConnection As HubConnection, methodName As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo server.

Parametri

hubConnection
HubConnection

Connessione dell'hub.

methodName
String

Nome del metodo server da richiamare.

arg1
Object

Primo argomento.

arg2
Object

Secondo argomento.

arg3
Object

Terzo argomento.

arg4
Object

Quarto argomento.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento. Il valore predefinito è None.

Restituisce

Task<TResult>

Oggetto Task<TResult> che rappresenta l'richiamare asincrona. La Result proprietà restituisce un TResult oggetto per il valore restituito del metodo hub.

Si applica a