Delen via


BadRequestException Class

Definition

Exception for signaling bad request data errors.

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

Constructors

BadRequestException(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