C# Class Microsoft.Azure.Devices.Client.Exceptions.MessageTooLargeException

Inheritance: Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Mostrar archivo Open project: Azure/azure-iot-sdk-csharp Class Usage Examples

Public Methods

Method Description
MessageTooLargeException ( ) : System

Initializes a new instance of the class.

MessageTooLargeException ( int maximumMessageSizeInBytes ) : System

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

MessageTooLargeException ( string message ) : System

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

MessageTooLargeException ( string message, Exception innerException ) : System

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.

Private Methods

Method Description
MessageTooLargeException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the class with the specified serialization and context information.

Method Details

MessageTooLargeException() public method

Initializes a new instance of the class.
public MessageTooLargeException ( ) : System
return System

MessageTooLargeException() public method

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 ) : System
maximumMessageSizeInBytes int Device identifier that already exists.
return System

MessageTooLargeException() public method

Initializes a new instance of the class with the message string set to the message parameter.
public MessageTooLargeException ( string message ) : System
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.
return System

MessageTooLargeException() public method

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 ) : System
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
return System