Share via


ListenOptions.SocketPath 属性

定义

获取 Unix 域套接字的绑定绝对路径。

public:
 property System::String ^ SocketPath { System::String ^ get(); };
public string SocketPath { get; }
public string? SocketPath { get; }
member this.SocketPath : string
Public ReadOnly Property SocketPath As String

属性值

实现

Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.IEndPointInformation.SocketPath

注解

仅当 ListenOptions 绑定到 时 UnixDomainSocketEndPoint设置。

适用于