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>)
|
適用於