HubConnection HubConnection HubConnection Class

Definition

A connection used to invoke hub methods on a SignalR Server.

public class HubConnection
type HubConnection = class
Public Class HubConnection
Inheritance
HubConnectionHubConnectionHubConnection

Remarks

A HubConnection should be created using HubConnectionBuilder. Before hub methods can be invoked the connection must be started using StartAsync(CancellationToken). Clean up a connection using StopAsync(CancellationToken) or DisposeAsync().

Constructors

HubConnection(IConnectionFactory, IHubProtocol, ILoggerFactory) HubConnection(IConnectionFactory, IHubProtocol, ILoggerFactory) HubConnection(IConnectionFactory, IHubProtocol, ILoggerFactory)

Initializes a new instance of the HubConnection class.

HubConnection(IConnectionFactory, IHubProtocol, IServiceProvider, ILoggerFactory) HubConnection(IConnectionFactory, IHubProtocol, IServiceProvider, ILoggerFactory) HubConnection(IConnectionFactory, IHubProtocol, IServiceProvider, ILoggerFactory)

Initializes a new instance of the HubConnection class.

Fields

DefaultHandshakeTimeout DefaultHandshakeTimeout DefaultHandshakeTimeout
DefaultKeepAliveInterval DefaultKeepAliveInterval DefaultKeepAliveInterval
DefaultServerTimeout DefaultServerTimeout DefaultServerTimeout

Properties

HandshakeTimeout HandshakeTimeout HandshakeTimeout

Gets or sets the timeout for the initial handshake.

KeepAliveInterval KeepAliveInterval KeepAliveInterval

Gets or sets the interval at which the client sends ping messages.

ServerTimeout ServerTimeout ServerTimeout

Gets or sets the server timeout interval for the connection.

State State State

Indicates the state of the HubConnection to the server.

Methods

DisposeAsync() DisposeAsync() DisposeAsync()

Disposes the HubConnection.

InvokeCoreAsync(String, Type, Object[], CancellationToken) InvokeCoreAsync(String, Type, Object[], CancellationToken) InvokeCoreAsync(String, Type, Object[], CancellationToken)

Invokes a hub method on the server using the specified method name, return type and arguments.

On(String, Type[], Func<Object[],Object,Task>, Object) On(String, Type[], Func<Object[],Object,Task>, Object) On(String, Type[], Func<Object[],Object,Task>, Object)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

Remove(String) Remove(String) Remove(String)

Removes all handlers associated with the method with the specified method name.

ResetSendPing() ResetSendPing() ResetSendPing()
ResetTimeout() ResetTimeout() ResetTimeout()
SendCoreAsync(String, Object[], CancellationToken) SendCoreAsync(String, Object[], CancellationToken) SendCoreAsync(String, Object[], CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

StartAsync(CancellationToken) StartAsync(CancellationToken) StartAsync(CancellationToken)

Starts a connection to the server.

StopAsync(CancellationToken) StopAsync(CancellationToken) StopAsync(CancellationToken)

Stops a connection to the server.

StreamAsChannelCoreAsync(String, Type, Object[], CancellationToken) StreamAsChannelCoreAsync(String, Type, Object[], CancellationToken) StreamAsChannelCoreAsync(String, Type, Object[], CancellationToken)

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

Events

Closed Closed Closed

Extension Methods

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and argument.

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

Invokes a hub method on the server using the specified method name.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and arguments.

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

Invokes a hub method on the server using the specified method name and argument.

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

Invokes a hub method on the server using the specified method name.

InvokeCoreAsync(HubConnection, String, Object[], CancellationToken) InvokeCoreAsync(HubConnection, String, Object[], CancellationToken) InvokeCoreAsync(HubConnection, String, Object[], CancellationToken)

Invokes a hub method on the server using the specified method name and arguments.

InvokeCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken) InvokeCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken) InvokeCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken)

Invokes a hub method on the server using the specified method name and arguments.

On(HubConnection, String, Action) On(HubConnection, String, Action) On(HubConnection, String, Action)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On(HubConnection, String, Func<Task>) On(HubConnection, String, Func<Task>) On(HubConnection, String, Func<Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On(HubConnection, String, Type[], Func<Object[],Task>) On(HubConnection, String, Type[], Func<Object[],Task>) On(HubConnection, String, Type[], Func<Object[],Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1>(HubConnection, String, Action<T1>) On<T1>(HubConnection, String, Action<T1>) On<T1>(HubConnection, String, Action<T1>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1>(HubConnection, String, Func<T1,Task>) On<T1>(HubConnection, String, Func<T1,Task>) On<T1>(HubConnection, String, Func<T1,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2>(HubConnection, String, Action<T1,T2>) On<T1,T2>(HubConnection, String, Action<T1,T2>) On<T1,T2>(HubConnection, String, Action<T1,T2>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2>(HubConnection, String, Func<T1,T2,Task>) On<T1,T2>(HubConnection, String, Func<T1,T2,Task>) On<T1,T2>(HubConnection, String, Func<T1,T2,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3>(HubConnection, String, Action<T1,T2,T3>) On<T1,T2,T3>(HubConnection, String, Action<T1,T2,T3>) On<T1,T2,T3>(HubConnection, String, Action<T1,T2,T3>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3>(HubConnection, String, Func<T1,T2,T3,Task>) On<T1,T2,T3>(HubConnection, String, Func<T1,T2,T3,Task>) On<T1,T2,T3>(HubConnection, String, Func<T1,T2,T3,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4>(HubConnection, String, Action<T1,T2,T3,T4>) On<T1,T2,T3,T4>(HubConnection, String, Action<T1,T2,T3,T4>) On<T1,T2,T3,T4>(HubConnection, String, Action<T1,T2,T3,T4>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4>(HubConnection, String, Func<T1,T2,T3,T4,Task>) On<T1,T2,T3,T4>(HubConnection, String, Func<T1,T2,T3,T4,Task>) On<T1,T2,T3,T4>(HubConnection, String, Func<T1,T2,T3,T4,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5>(HubConnection, String, Action<T1,T2,T3,T4,T5>) On<T1,T2,T3,T4,T5>(HubConnection, String, Action<T1,T2,T3,T4,T5>) On<T1,T2,T3,T4,T5>(HubConnection, String, Action<T1,T2,T3,T4,T5>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5>(HubConnection, String, Func<T1,T2,T3,T4,T5,Task>) On<T1,T2,T3,T4,T5>(HubConnection, String, Func<T1,T2,T3,T4,T5,Task>) On<T1,T2,T3,T4,T5>(HubConnection, String, Func<T1,T2,T3,T4,T5,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6>) On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6>) On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,Task>) On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,Task>) On<T1,T2,T3,T4,T5,T6>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7>) On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7>) On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,Task>) On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,Task>) On<T1,T2,T3,T4,T5,T6,T7>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7,T8>) On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7,T8>) On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Action<T1,T2,T3,T4,T5,T6,T7,T8>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>) On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>) On<T1,T2,T3,T4,T5,T6,T7,T8>(HubConnection, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,Task>)

Registers a handler that will be invoked when the hub method with the specified method name is invoked.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, CancellationToken) SendAsync(HubConnection, String, Object, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and arguments. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, Object, CancellationToken) SendAsync(HubConnection, String, Object, CancellationToken) SendAsync(HubConnection, String, Object, CancellationToken)

Invokes a hub method on the server using the specified method name and argument. Does not wait for a response from the receiver.

SendAsync(HubConnection, String, CancellationToken) SendAsync(HubConnection, String, CancellationToken) SendAsync(HubConnection, String, CancellationToken)

Invokes a hub method on the server using the specified method name. Does not wait for a response from the receiver.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

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

Invokes a streaming hub method on the server using the specified method name, return type and argument.

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

Invokes a streaming hub method on the server using the specified method name and return type.

StreamAsChannelCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken) StreamAsChannelCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken) StreamAsChannelCoreAsync<TResult>(HubConnection, String, Object[], CancellationToken)

Invokes a streaming hub method on the server using the specified method name, return type and arguments.

Applies to