Language

InteractiveServerBrowserOptions クラス

定義

対話型サーバー レンダリング モードの CircuitStartOptions のシリアル化可能なサブセット。 シリアル化できないオプション (configureSignalR、 reconnectionHandler、 circuitHandlers) では、 Blazor.start() または JS 初期化子を使用する必要があります。

public sealed class InteractiveServerBrowserOptions
type InteractiveServerBrowserOptions = class
Public NotInheritable Class InteractiveServerBrowserOptions
継承
InteractiveServerBrowserOptions

コンストラクター

Name 説明
InteractiveServerBrowserOptions()

対話型サーバー レンダリング モードの CircuitStartOptions のシリアル化可能なサブセット。 シリアル化できないオプション (configureSignalR、 reconnectionHandler、 circuitHandlers) では、 Blazor.start() または JS 初期化子を使用する必要があります。

プロパティ

Name 説明
Extensions

既知のオプションと共にシリアル化され、クライアント回線の開始オプションにフローされる、ライブラリによって提供される追加の構成を取得します。 ライブラリ (自動一時停止パッケージなど) では、コア ランタイムが知る必要なく JavaScript 初期化子から読み取ることができるように、ここに独自のキーが設定されます。

ReconnectionDialogId

再接続ダイアログ要素の CSS ID を取得または設定します。 CircuitStartOptions.reconnectionOptions.dialogId にマップします。

ReconnectionMaxRetries

再接続を中止する前の最大試行回数を取得または設定します。 CircuitStartOptions.reconnectionOptions.maxRetries にマップします。

ReconnectionRetryInterval

再接続の試行間隔 (スカラー 形式) を取得または設定します。 関数形式 (retryCount, currentMs) => number には JS が必要です。 CircuitStartOptions.reconnectionOptions.retryIntervalMilliseconds にマップします。

適用対象