Condividi tramite


HubConnectionExtensions.StreamAsync Metodo

Definizione

Overload

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, 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, 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 specificato e il tipo restituito.

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, 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, 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)

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

public static System.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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 StreamAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function StreamAsync(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 IAsyncEnumerable(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

public static System.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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 StreamAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function StreamAsync(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 IAsyncEnumerable(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

public static System.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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 StreamAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function StreamAsync(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 IAsyncEnumerable(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

public static System.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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 StreamAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function StreamAsync(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 IAsyncEnumerable(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

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

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

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

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

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

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

StreamAsync<TResult>(HubConnection, String, CancellationToken)

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

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

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

public static System.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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 StreamAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function StreamAsync(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 IAsyncEnumerable(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

public static System.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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 StreamAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function StreamAsync(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 IAsyncEnumerable(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a

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

Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs
Origine:
HubConnectionExtensions.StreamAsync.cs

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

public static System.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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.Collections.Generic.IAsyncEnumerable<TResult> StreamAsync<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 StreamAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function StreamAsync(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 IAsyncEnumerable(Of TResult)

Parametri di tipo

TResult

Tipo restituito del metodo del server di streaming.

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

IAsyncEnumerable<TResult>

Oggetto IAsyncEnumerable<T> che rappresenta il flusso.

Si applica a