Share via


IotHubThrottledException Constructors

Definition

Overloads

IotHubThrottledException()

Initializes a new instance of the class.

IotHubThrottledException(Int32)

Initializes a new instance of the class with the message string containing the maximum count of active requests.

IotHubThrottledException(String)

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.

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

IotHubThrottledException()

Initializes a new instance of the class.

public IotHubThrottledException ();
Public Sub New ()

Applies to

IotHubThrottledException(Int32)

Initializes a new instance of the class with the message string containing the maximum count of active requests.

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

Parameters

maximumBatchCount
Int32

Maximum count of active requests.

Applies to

IotHubThrottledException(String)

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

IotHubThrottledException(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 IotHubThrottledException (string message, Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubThrottledException : string * Exception -> Microsoft.Azure.Devices.Client.Exceptions.IotHubThrottledException
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