Share via


HubLifetimeContext クラス

定義

ハブの有効期間イベント OnConnectedAsync()OnDisconnectedAsync(Exception)のコンテキスト。

public ref class HubLifetimeContext sealed
public sealed class HubLifetimeContext
type HubLifetimeContext = class
Public NotInheritable Class HubLifetimeContext
継承
HubLifetimeContext

コンストラクター

HubLifetimeContext(HubCallerContext, IServiceProvider, Hub)

HubLifetimeContext クラスの新しいインスタンスを生成します。

プロパティ

Context

アクティブなハブ接続と呼び出し元のコンテキストを取得します。

Hub

ハブ インスタンスを取得します。

ServiceProvider

IServiceProviderこの Hub メソッド呼び出しのスコープに固有の 。

適用対象