共用方式為


ConnectionOptionsSetup 類別

定義

設定 ConnectionOptions

public ref class ConnectionOptionsSetup : Microsoft::Extensions::Options::IConfigureOptions<Microsoft::AspNetCore::Http::Connections::ConnectionOptions ^>
public class ConnectionOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Http.Connections.ConnectionOptions>
type ConnectionOptionsSetup = class
    interface IConfigureOptions<ConnectionOptions>
Public Class ConnectionOptionsSetup
Implements IConfigureOptions(Of ConnectionOptions)
繼承
ConnectionOptionsSetup
實作

建構函式

ConnectionOptionsSetup()

設定 ConnectionOptions

欄位

DefaultDisconectTimeout

中斷閒置連線的預設逾時值。

方法

Configure(ConnectionOptions)

如果尚未設定選項,請設定其預設值。

適用於