Redigera

Dela via


UnixDomainSocketEndPoint(String) Constructor

Definition

Initializes a new instance of the UnixDomainSocketEndPoint with the file path to connect a unix domain socket over.

public:
 UnixDomainSocketEndPoint(System::String ^ path);
public UnixDomainSocketEndPoint (string path);
new System.Net.Sockets.UnixDomainSocketEndPoint : string -> System.Net.Sockets.UnixDomainSocketEndPoint
Public Sub New (path As String)

Parameters

path
String

The path to connect a unix domain socket over.

Exceptions

path is null.

path is of an invalid length for use with domain sockets on this platform. The length must be between 1 and the allowed native path length.

The current OS does not support Unix Domain Sockets.

Applies to