HttpListenerException Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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
Available since 2.0
Return to top