Share via


UnauthorizedException Class

Definition

Exception for signaling authorization errors.

[System.Serializable]
public class UnauthorizedException : Microsoft.Azure.NotificationHubs.Messaging.MessagingException
[<System.Serializable>]
type UnauthorizedException = class
    inherit MessagingException
Public Class UnauthorizedException
Inherits MessagingException
Inheritance
UnauthorizedException
Attributes

Constructors

UnauthorizedException(SerializationInfo, StreamingContext)

Exception Constructor for additional details embedded in a serializable stream.

Properties

Data

Gets a collection of key/value pairs that provide additional user-defined information about the exception.

(Inherited from MessagingException)
Detail

Details about the cause of the exception

(Inherited from MessagingException)
IsTransient

A boolean indicating if the exception is a transient error or not. getting a true from this property implies that user can retry the operation that generated the exception without additional intervention.

(Inherited from MessagingException)
RetryAfter

If set, indicates recommended time for waiting before retrying transient errors.

(Inherited from MessagingException)
Timestamp

UTC timestamp of the exception

(Inherited from MessagingException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

(Inherited from MessagingException)

Applies to