DeviceMaximumQueueDepthExceededException Constructors

Definition

Overloads

DeviceMaximumQueueDepthExceededException()

Initializes a new instance of the class with the message string containing the identifier of the already existing device.

DeviceMaximumQueueDepthExceededException(Int32)

Initializes a new instance of the class with the message string containing the identifier of the already existing device.

DeviceMaximumQueueDepthExceededException(String)

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

DeviceMaximumQueueDepthExceededException(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.

DeviceMaximumQueueDepthExceededException()

Initializes a new instance of the class with the message string containing the identifier of the already existing device.

public DeviceMaximumQueueDepthExceededException ();
Public Sub New ()

Applies to

DeviceMaximumQueueDepthExceededException(Int32)

Initializes a new instance of the class with the message string containing the identifier of the already existing device.

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

Parameters

maximumQueueDepth
Int32

Maximum number of messages in the queue.

Applies to

DeviceMaximumQueueDepthExceededException(String)

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

public DeviceMaximumQueueDepthExceededException (string message);
new Microsoft.Azure.Devices.Client.Exceptions.DeviceMaximumQueueDepthExceededException : string -> Microsoft.Azure.Devices.Client.Exceptions.DeviceMaximumQueueDepthExceededException
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

DeviceMaximumQueueDepthExceededException(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 DeviceMaximumQueueDepthExceededException (string message, Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.DeviceMaximumQueueDepthExceededException : string * Exception -> Microsoft.Azure.Devices.Client.Exceptions.DeviceMaximumQueueDepthExceededException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A description of the error.

innerException
Exception

The exception that is the cause of the current exception

Applies to