Share via


HttpListener Constructor (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the HttpListener class with the standard ports.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public Sub New ( _
    prefix As String _
)
public HttpListener(
    string prefix
)
public:
HttpListener(
    String^ prefix
)
new : 
        prefix:string -> HttpListener
public function HttpListener(
    prefix : String
)

Parameters

.NET Framework Security

See Also

Reference

HttpListener Class

HttpListener Overload

System.Net Namespace