MessageSizeExceededException MessageSizeExceededException MessageSizeExceededException Class

Definition

Represents an exception occurred when the size of the message exceeded the maximum allowed size.

[Serializable]
public sealed class MessageSizeExceededException : Microsoft.ServiceBus.Messaging.MessagingException
type MessageSizeExceededException = class
    inherit MessagingException
Public NotInheritable Class MessageSizeExceededException
Inherits MessagingException
Inheritance
MessageSizeExceededExceptionMessageSizeExceededExceptionMessageSizeExceededException
Attributes
SerializableAttribute

Constructors

MessageSizeExceededException(String) MessageSizeExceededException(String) MessageSizeExceededException(String)

Initializes a new instance of the MessageSizeExceededException class with specified exception message.

MessageSizeExceededException(String, Exception) MessageSizeExceededException(String, Exception) MessageSizeExceededException(String, Exception)

Initializes a new instance of the MessageSizeExceededException class with specified exception message and the error that caused the exception.

Properties

Data Data Data

Gets the data associated with the exception.

(Inherited from MessagingException)
Detail Detail Detail

Gets or sets the detail information of the messaging exception.

(Inherited from MessagingException)
IsTransient IsTransient IsTransient

Gets or sets a value indicating whether the exception is transient. Check this property to determine if the operation should be retried.

(Inherited from MessagingException)
Timestamp Timestamp Timestamp

Gets or sets the time at which the messaging exception occurred.

(Inherited from MessagingException)

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Populates the serialization information with data about the exception.

(Inherited from MessagingException)

Extension Methods

CheckIotHubErrorCode(Exception, ErrorCode[]) CheckIotHubErrorCode(Exception, ErrorCode[]) CheckIotHubErrorCode(Exception, ErrorCode[])
DisablePrepareForRethrow(Exception) DisablePrepareForRethrow(Exception) DisablePrepareForRethrow(Exception)
GetReferenceCode(Exception) GetReferenceCode(Exception) GetReferenceCode(Exception)
IsFatal(Exception) IsFatal(Exception) IsFatal(Exception)
PrepareForRethrow(Exception) PrepareForRethrow(Exception) PrepareForRethrow(Exception)
ToStringSlim(Exception) ToStringSlim(Exception) ToStringSlim(Exception)
Unwind(Exception) Unwind(Exception) Unwind(Exception)
Unwind(Exception, Type[]) Unwind(Exception, Type[]) Unwind(Exception, Type[])
Unwind<TException>(Exception) Unwind<TException>(Exception) Unwind<TException>(Exception)
IsWrappedExceptionTransient(Exception) IsWrappedExceptionTransient(Exception) IsWrappedExceptionTransient(Exception)
FindInnerException<T>(Exception) FindInnerException<T>(Exception) FindInnerException<T>(Exception)

Applies to