ServerAddressesFeature 类

定义

指定服务器使用的地址。

public ref class ServerAddressesFeature : Microsoft::AspNetCore::Hosting::Server::Features::IServerAddressesFeature
public class ServerAddressesFeature : Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature
type ServerAddressesFeature = class
    interface IServerAddressesFeature
Public Class ServerAddressesFeature
Implements IServerAddressesFeature
继承
ServerAddressesFeature
实现

构造函数

ServerAddressesFeature()

指定服务器使用的地址。

属性

Addresses

ICollection<T>服务器使用的地址的 。

PreferHostingUrls

true 首选由主机而不是服务器配置的 URL。

适用于