Table of Contents

Class MessageSizeExceededException

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll

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

public sealed class MessageSizeExceededException : MessagingException, ISerializable
Inheritance
MessageSizeExceededException
Implements
Inherited Members

Constructors

MessageSizeExceededException(string)

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

public MessageSizeExceededException(string message)

Parameters

message string

The message associated with the exception.

MessageSizeExceededException(string, Exception)

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

public MessageSizeExceededException(string message, Exception innerException)

Parameters

message string

The message associated with the exception.

innerException Exception

The error that caused the current exception.