RedisHubLifetimeManager<THub> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
generic <typename THub>
where THub : Hubpublic ref class RedisHubLifetimeManager : Microsoft::AspNetCore::SignalR::HubLifetimeManager<THub>, IDisposable
public class RedisHubLifetimeManager<THub> : Microsoft.AspNetCore.SignalR.HubLifetimeManager<THub>, IDisposable where THub : Hub
type RedisHubLifetimeManager<'Hub (requires 'Hub :> Hub)> = class
inherit HubLifetimeManager<'Hub (requires 'Hub :> Hub)>
interface IDisposable
Public Class RedisHubLifetimeManager(Of THub)
Inherits HubLifetimeManager(Of THub)
Implements IDisposable
类型参数
- 继承
-
RedisHubLifetimeManager<THub>
- 实现
-
构造函数
方法
AddToGroupAsync(String, String, CancellationToken)
|
Dispose()
|
InvokeConnectionAsync<T>(String, String, Object[], CancellationToken)
|
将调用消息发送到指定的连接并等待响应。
(继承自 HubLifetimeManager<THub>)
|
OnConnectedAsync(HubConnectionContext)
|
OnDisconnectedAsync(HubConnectionContext)
|
RemoveFromGroupAsync(String, String, CancellationToken)
|
SendAllAsync(String, Object[], CancellationToken)
|
SendAllExceptAsync(String, Object[], IReadOnlyList<String>, CancellationToken)
|
SendConnectionAsync(String, String, Object[], CancellationToken)
|
SendConnectionsAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
|
SendGroupAsync(String, String, Object[], CancellationToken)
|
SendGroupExceptAsync(String, String, Object[], IReadOnlyList<String>, CancellationToken)
|
SendGroupsAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
|
SendUserAsync(String, String, Object[], CancellationToken)
|
SendUsersAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
|
SetConnectionResultAsync(String, CompletionMessage)
|
设置正在进行的 InvokeConnectionAsync<T>(String, String, Object[], CancellationToken) 调用的连接结果。
(继承自 HubLifetimeManager<THub>)
|
TryGetReturnType(String, Type)
|
IHubProtocol告知实现连接结果的预期类型是什么。
(继承自 HubLifetimeManager<THub>)
|
适用于