Class WebApiException
Inheritance
WebApiException
Assembly: DotNetNuke.Web.dll
Syntax
public class WebApiException : Exception, ISerializable, _Exception
Constructors
WebApiException(Exception, HttpResponseMessage)
Declaration
public WebApiException(Exception innerException, HttpResponseMessage result)
Parameters
WebApiException(Exception, HttpResponseMessage, string)
Declaration
public WebApiException(Exception innerException, HttpResponseMessage result, string body)
Parameters
Properties
Body
Declaration
public string Body { get; }
Property Value
Result
Declaration
public HttpResponseMessage Result { get; }
Property Value
Methods
BodyAsJson()
Declaration
public dynamic BodyAsJson()
Returns
Implements
Extension Methods