Share via


MessageSizeExceededException Constructors

Definition

Overloads

MessageSizeExceededException(String)

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

MessageSizeExceededException(String, Exception)

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

MessageSizeExceededException(String)

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

public MessageSizeExceededException (string message);
new Microsoft.ServiceBus.Messaging.MessageSizeExceededException : string -> Microsoft.ServiceBus.Messaging.MessageSizeExceededException
Public Sub New (message As String)

Parameters

message
String

The message associated with the exception.

Applies to

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);
new Microsoft.ServiceBus.Messaging.MessageSizeExceededException : string * Exception -> Microsoft.ServiceBus.Messaging.MessageSizeExceededException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message associated with the exception.

innerException
Exception

The error that caused the current exception.

Applies to