Condividi tramite


ClientProxyExtensions.InvokeAsync Metodo

Definizione

Overload

InvokeAsync<T>(ISingleClientProxy, String, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, CancellationToken)

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

InvokeAsync<T>(ISingleClientProxy, String, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo da richiamare.

cancellationToken
CancellationToken

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

Restituisce

Task<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method 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, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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

Settimo argomento.

arg8
Object

Ottavo argomento.

arg9
Object

Il nono argomento.

cancellationToken
CancellationToken

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

Restituisce

Task<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method 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, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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

Settimo argomento.

arg8
Object

Ottavo argomento.

cancellationToken
CancellationToken

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

Restituisce

Task<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, arg7 As Object, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Il tipo IClientProxy

method
String

Nome del metodo 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

Settimo argomento.

cancellationToken
CancellationToken

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

Restituisce

Task<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, arg6 As Object, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method 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, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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

Settimo argomento.

arg8
Object

Ottavo argomento.

arg9
Object

Il nono argomento.

arg10
Object

Decimo argomento.

cancellationToken
CancellationToken

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

Restituisce

Task<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, arg1 As Object, arg2 As Object, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, arg1 As Object, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo da richiamare.

arg1
Object

Primo argomento.

cancellationToken
CancellationToken

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

Restituisce

Task<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a

InvokeAsync<T>(ISingleClientProxy, String, Object, Object, Object, Object, Object, CancellationToken)

Origine:
ClientProxyExtensions.cs

Richiama un metodo sulla connessione rappresentata dall'istanza ISingleClientProxy e attende una risposta.

public static System.Threading.Tasks.Task<T> InvokeAsync<T> (this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, System.Threading.CancellationToken cancellationToken);
static member InvokeAsync : Microsoft.AspNetCore.SignalR.ISingleClientProxy * string * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function InvokeAsync(Of T) (clientProxy As ISingleClientProxy, method As String, arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object, arg5 As Object, cancellationToken As CancellationToken) As Task(Of T)

Parametri di tipo

T

Parametri

clientProxy
ISingleClientProxy

Oggetto ISingleClientProxy.

method
String

Nome del metodo 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<T>

Oggetto Task che rappresenta la chiamata asincrona.

Si applica a