• Home
  • My Account
  • Docs
  • Catalog Browser
  • API Status
Show / Hide Table of Contents

Class UnauthorizedException

A class representing exceptions thrown due to authorization failure.

Inheritance
object
Exception
ClientException
HttpException
UnauthorizedException
Implements
ISerializable
Inherited Members
HttpException.ToString()
HttpException.Response
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.TargetSite
Exception.StackTrace
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: WhenFresh.Api.Client.Http
Assembly: WhenFresh.Api.Client.dll
Syntax
public class UnauthorizedException : HttpException, ISerializable

Constructors

UnauthorizedException(HttpResponseMessage)

Initializes a new instance of the UnauthorizedException class with a specific message that describes the current exception.

Declaration
public UnauthorizedException(HttpResponseMessage response)
Parameters
Type Name Description
HttpResponseMessage response

The HttpResponseMessage at the time of the current exception.

Implements

ISerializable