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)

设置选项的默认值(如果尚未设置)。

适用于