HubConnectionExtensions.StreamAsync Método

Definição

Sobrecargas

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

StreamAsync<TResult>(HubConnection, String, CancellationToken)

Invoca um método de hub de streaming no servidor usando o nome do método e o tipo de retorno especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

arg4
Object

O quarto argumento.

arg5
Object

O quinto argumento.

arg6
Object

O sexto argumento.

arg7
Object

O sétimo argumento.

arg8
Object

O oitavo argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

arg4
Object

O quarto argumento.

arg5
Object

O quinto argumento.

arg6
Object

O sexto argumento.

arg7
Object

O sétimo argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

arg4
Object

O quarto argumento.

arg5
Object

O quinto argumento.

arg6
Object

O sexto argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

arg4
Object

O quarto argumento.

arg5
Object

O quinto argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método, o tipo de retorno e o argumento especificados.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método especificado, o tipo de retorno e o argumento.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

StreamAsync<TResult>(HubConnection, String, CancellationToken)

Invoca um método de hub de streaming no servidor usando o nome do método especificado e o tipo de retorno.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método especificado, o tipo de retorno e o argumento.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

arg4
Object

O quarto argumento.

arg5
Object

O quinto argumento.

arg6
Object

O sexto argumento.

arg7
Object

O sétimo argumento.

arg8
Object

O oitavo argumento.

arg9
Object

O nono argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método especificado, o tipo de retorno e o argumento.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

arg4
Object

O quarto argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a

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

Invoca um método de hub de streaming no servidor usando o nome do método especificado, o tipo de retorno e o argumento.

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)

Parâmetros de tipo

TResult

O tipo de retorno do método de servidor de streaming.

Parâmetros

hubConnection
HubConnection

A conexão do hub.

methodName
String

O nome do método de servidor a ser invocado.

arg1
Object

O primeiro argumento.

arg2
Object

O segundo argumento.

arg3
Object

O terceiro argumento.

arg4
Object

O quarto argumento.

arg5
Object

O quinto argumento.

arg6
Object

O sexto argumento.

arg7
Object

O sétimo argumento.

arg8
Object

O oitavo argumento.

arg9
Object

O nono argumento.

arg10
Object

O décimo argumento.

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

IAsyncEnumerable<TResult>

Um IAsyncEnumerable<T> que representa o fluxo.

Aplica-se a