MessageTooLargeException Constructors

Definition

Overloads

MessageTooLargeException(Int32)
MessageTooLargeException(String)
MessageTooLargeException(Int32, String)
MessageTooLargeException(String, Exception)

MessageTooLargeException(Int32)

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

Parameters

maximumMessageSizeInBytes
System.Int32

Applies to

MessageTooLargeException(String)

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

Parameters

message
System.String

Applies to

MessageTooLargeException(Int32, String)

public MessageTooLargeException (int maximumMessageSizeInBytes, string trackingId);
new Microsoft.Azure.Devices.Common.Exceptions.MessageTooLargeException : int * string -> Microsoft.Azure.Devices.Common.Exceptions.MessageTooLargeException
Public Sub New (maximumMessageSizeInBytes As Integer, trackingId As String)

Parameters

maximumMessageSizeInBytes
System.Int32
trackingId
System.String

Applies to

MessageTooLargeException(String, Exception)

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

Parameters

message
System.String
innerException
System.Exception

Applies to