Show / Hide Table of Contents

Class WebApiException

Inheritance
object
Exception
WebApiException
Implements
ISerializable
_Exception
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.Api
Assembly: DotNetNuke.Web.dll
Syntax
public class WebApiException : Exception, ISerializable, _Exception

Constructors

WebApiException(Exception, HttpResponseMessage)

Declaration
public WebApiException(Exception innerException, HttpResponseMessage result)
Parameters
Type Name Description
Exception innerException
HttpResponseMessage result

WebApiException(Exception, HttpResponseMessage, string)

Declaration
public WebApiException(Exception innerException, HttpResponseMessage result, string body)
Parameters
Type Name Description
Exception innerException
HttpResponseMessage result
string body

Properties

Body

Declaration
public string Body { get; }
Property Value
Type Description
string

Result

Declaration
public HttpResponseMessage Result { get; }
Property Value
Type Description
HttpResponseMessage

Methods

BodyAsJson()

Declaration
public dynamic BodyAsJson()
Returns
Type Description
dynamic

Implements

ISerializable
_Exception

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS