UnixDomainSocketEndPoint(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.