Delen via


DeviceMaximumQueueDepthExceededException Constructors

Definition

Overloads

DeviceMaximumQueueDepthExceededException(Int32)

Creates an instance of DeviceMaximumQueueDepthExceededException with the specified value of the maximum queue depth and marks it as non-transient.

DeviceMaximumQueueDepthExceededException(String)

Creates an instance of DeviceMaximumQueueDepthExceededException with a specified error message and marks it as non-transient.

DeviceMaximumQueueDepthExceededException(Int32, String)

Creates an instance of DeviceMaximumQueueDepthExceededException with the specified value of the maximum queue depth and the service returned tracking Id associated with this particular error, and marks it as non-transient.

DeviceMaximumQueueDepthExceededException(String, Exception)

Creates an instance of DeviceMaximumQueueDepthExceededException with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient.

DeviceMaximumQueueDepthExceededException(Int32)

Creates an instance of DeviceMaximumQueueDepthExceededException with the specified value of the maximum queue depth and marks it as non-transient.

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

Parameters

maximumQueueDepth
Int32

Applies to

DeviceMaximumQueueDepthExceededException(String)

Creates an instance of DeviceMaximumQueueDepthExceededException with a specified error message and marks it as non-transient.

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

Parameters

message
String

The message that describes the error.

Applies to

DeviceMaximumQueueDepthExceededException(Int32, String)

Creates an instance of DeviceMaximumQueueDepthExceededException with the specified value of the maximum queue depth and the service returned tracking Id associated with this particular error, and marks it as non-transient.

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

Parameters

maximumQueueDepth
Int32

The maximum number of messages that can be enqueued to the message queue.

trackingId
String

The service returned tracking Id associated with this particular error.

Applies to

DeviceMaximumQueueDepthExceededException(String, Exception)

Creates an instance of DeviceMaximumQueueDepthExceededException with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient.

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

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to