Sdílet prostřednictvím


MessageTooLargeException Constructors

Definition

Overloads

MessageTooLargeException()

Initializes a new instance of the class.

MessageTooLargeException(Int32)

Initializes a new instance of the class with the message string containing the maximum sized allowed for a message, in bytes.

MessageTooLargeException(String)

Initializes a new instance of the class with the message string set to the message parameter.

MessageTooLargeException(String, Exception)

Initializes a new instance of the class with the message string set to the message parameter and a reference to the inner exception that is the cause of this exception.

MessageTooLargeException()

Initializes a new instance of the class.

public MessageTooLargeException ();
Public Sub New ()

Applies to

MessageTooLargeException(Int32)

Initializes a new instance of the class with the message string containing the maximum sized allowed for a message, in bytes.

public MessageTooLargeException (int maximumMessageSizeInBytes);
new Microsoft.Azure.Devices.Client.Exceptions.MessageTooLargeException : int -> Microsoft.Azure.Devices.Client.Exceptions.MessageTooLargeException
Public Sub New (maximumMessageSizeInBytes As Integer)

Parameters

maximumMessageSizeInBytes
Int32

Device identifier that already exists.

Applies to

MessageTooLargeException(String)

Initializes a new instance of the class with the message string set to the message parameter.

public MessageTooLargeException (string message);
new Microsoft.Azure.Devices.Client.Exceptions.MessageTooLargeException : string -> Microsoft.Azure.Devices.Client.Exceptions.MessageTooLargeException
Public Sub New (message As String)

Parameters

message
String

A description of the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Applies to

MessageTooLargeException(String, Exception)

Initializes a new instance of the class with the message string set to the message parameter and a reference to the inner exception that is the cause of this exception.

public MessageTooLargeException (string message, Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.MessageTooLargeException : string * Exception -> Microsoft.Azure.Devices.Client.Exceptions.MessageTooLargeException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A description of the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

innerException
Exception

The exception that is the cause of the current exception

Applies to