Export (0) Print
Expand All

HttpResponseException Constructor (HttpStatusCode)

Initializes a new instance of the HttpResponseException class.

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

Public Sub New ( _
	statusCode As HttpStatusCode _
Dim statusCode As HttpStatusCode

Dim instance As New HttpResponseException(statusCode)


Type: System.Net.HttpStatusCode
The status code of the response.

This version of the constructor creates a new HTTP response with the specified status code.

© 2015 Microsoft