Helper..::..Unauthorized Method
Creates an HttpResponseException with the specified message and HTTP status code.
Namespace:
AdvantageCSP.APIAssembly: AdvantageCSP.API (in AdvantageCSP.API.dll)
Syntax
public static HttpResponseException Unauthorized( string message, HttpStatusCode code )
Parameters
- message
- Type: String
The error message.
- code
- Type: HttpStatusCode
The HTTP status code. Defaults to Unauthorized.

