Export (0) Print
Expand All

HttpListenerException Constructor

Initializes a new instance of the HttpListenerException class.

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

public HttpListenerException()

This constructor sets the ErrorCode and Message properties using the most recent Windows error.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft