WeavyApiController.ThrowResponseException Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

ThrowResponseException(HttpStatusCode, String)

Throws a HttpResponseException with the specified code and message.

public void ThrowResponseException(HttpStatusCode code, string message)

Parameters

code
System.Net.HttpStatusCode
message
System.String