Compartir a través de


HubConnectionExtensions.StreamAsChannelAsync Método

Definición

Sobrecargas

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Invoca un método de concentrador de streaming en el servidor mediante el nombre del método, el tipo de valor devuelto y el argumento especificados.

StreamAsChannelAsync<TResult>(HubConnection, String, CancellationToken)

Invoca un método de concentrador de streaming en el servidor con el nombre de método y el tipo de valor devuelto especificados.

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

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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 StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

arg4
Object

Cuarto argumento.

arg5
Object

Quinto argumento.

arg6
Object

Sexto argumento.

arg7
Object

Séptimo argumento.

arg8
Object

Octavo argumento.

arg9
Object

El noveno argumento.

arg10
Object

Décimo argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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 StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

arg4
Object

Cuarto argumento.

arg5
Object

Quinto argumento.

arg6
Object

Sexto argumento.

arg7
Object

Séptimo argumento.

arg8
Object

Octavo argumento.

arg9
Object

El noveno argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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 StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

arg4
Object

Cuarto argumento.

arg5
Object

Quinto argumento.

arg6
Object

Sexto argumento.

arg7
Object

Séptimo argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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 StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

arg4
Object

Cuarto argumento.

arg5
Object

Quinto argumento.

arg6
Object

Sexto argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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 StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

arg4
Object

Cuarto argumento.

arg5
Object

Quinto argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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 StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

arg4
Object

Cuarto argumento.

arg5
Object

Quinto argumento.

arg6
Object

Sexto argumento.

arg7
Object

Séptimo argumento.

arg8
Object

Octavo argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<TResult> (this Microsoft.AspNetCore.SignalR.Client.HubConnection hubConnection, string methodName, object? arg1, object? arg2, object? arg3, System.Threading.CancellationToken cancellationToken = default);
static member StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

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

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor mediante el nombre del método, el tipo de valor devuelto y el argumento especificados.

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

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

StreamAsChannelAsync<TResult>(HubConnection, String, CancellationToken)

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre de método y el tipo de valor devuelto especificados.

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

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a

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

Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs
Source:
HubConnectionExtensions.StreamAsChannelAsync.cs

Invoca un método de concentrador de streaming en el servidor con el nombre del método, el tipo de valor devuelto y los argumentos especificados.

public static System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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<System.Threading.Channels.ChannelReader<TResult>> StreamAsChannelAsync<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 StreamAsChannelAsync : Microsoft.AspNetCore.SignalR.Client.HubConnection * string * obj * obj * obj * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<'Result>>
<Extension()>
Public Function StreamAsChannelAsync(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 ChannelReader(Of TResult))

Parámetros de tipo

TResult

Tipo de valor devuelto del método de servidor de streaming.

Parámetros

hubConnection
HubConnection

Conexión con el concentrador.

methodName
String

Nombre del método de servidor que se va a invocar.

arg1
Object

Primer argumento.

arg2
Object

Segundo argumento.

arg3
Object

Tercer argumento.

arg4
Object

Cuarto argumento.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task<ChannelReader<TResult>>

que Task<TResult> representa la invocación asincrónica. La Result propiedad devuelve un ChannelReader<T> para los valores del método del centro de transmisión.

Se aplica a