共用方式為


HubOptionsSetup<THub>(IOptions<HubOptions>) 建構函式

定義

建構選項群組態類別。

public:
 HubOptionsSetup(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::SignalR::HubOptions ^> ^ options);
public HubOptionsSetup (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions> options);
new Microsoft.AspNetCore.SignalR.HubOptionsSetup<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)> : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions> -> Microsoft.AspNetCore.SignalR.HubOptionsSetup<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)>
Public Sub New (options As IOptions(Of HubOptions))

參數

options
IOptions<HubOptions>

相依性插入的全域 HubOptions

適用於